Click or drag to resize

AuditExtensionsWithAct Method

Add act object to the audit

Namespace:  SanteDB.Core.Security.Audit
Assembly:  SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 2.2.1
Syntax
public static AuditData WithAct(
	this AuditData me,
	Act act,
	AuditableObjectLifecycle lifecycle
)

Parameters

me
Type: SanteDB.Core.AuditingAuditData

[Missing <param name="me"/> documentation for "M:SanteDB.Core.Security.Audit.AuditExtensions.WithAct(SanteDB.Core.Auditing.AuditData,SanteDB.Core.Model.Acts.Act,SanteDB.Core.Auditing.AuditableObjectLifecycle)"]

act
Type: SanteDB.Core.Model.ActsAct

[Missing <param name="act"/> documentation for "M:SanteDB.Core.Security.Audit.AuditExtensions.WithAct(SanteDB.Core.Auditing.AuditData,SanteDB.Core.Model.Acts.Act,SanteDB.Core.Auditing.AuditableObjectLifecycle)"]

lifecycle
Type: SanteDB.Core.AuditingAuditableObjectLifecycle

[Missing <param name="lifecycle"/> documentation for "M:SanteDB.Core.Security.Audit.AuditExtensions.WithAct(SanteDB.Core.Auditing.AuditData,SanteDB.Core.Model.Acts.Act,SanteDB.Core.Auditing.AuditableObjectLifecycle)"]

Return Value

Type: AuditData

[Missing <returns> documentation for "M:SanteDB.Core.Security.Audit.AuditExtensions.WithAct(SanteDB.Core.Auditing.AuditData,SanteDB.Core.Model.Acts.Act,SanteDB.Core.Auditing.AuditableObjectLifecycle)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type AuditData. 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