Click or drag to resize

AuditExtensionsWithTimestamp Method

Add timestamp

Namespace:  SanteDB.Core.Security.Audit
Assembly:  SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.481-alpha
Syntax
public static IAuditBuilder WithTimestamp(
	this IAuditBuilder me,
	DateTimeOffset? timestamp = null
)

Parameters

me
Type: SanteDB.Core.Security.AuditIAuditBuilder

[Missing <param name="me"/> documentation for "M:SanteDB.Core.Security.Audit.AuditExtensions.WithTimestamp(SanteDB.Core.Security.Audit.IAuditBuilder,System.Nullable{System.DateTimeOffset})"]

timestamp (Optional)
Type: SystemNullableDateTimeOffset

[Missing <param name="timestamp"/> documentation for "M:SanteDB.Core.Security.Audit.AuditExtensions.WithTimestamp(SanteDB.Core.Security.Audit.IAuditBuilder,System.Nullable{System.DateTimeOffset})"]

Return Value

Type: IAuditBuilder

[Missing <returns> documentation for "M:SanteDB.Core.Security.Audit.AuditExtensions.WithTimestamp(SanteDB.Core.Security.Audit.IAuditBuilder,System.Nullable{System.DateTimeOffset})"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IAuditBuilder. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also