Click or drag to resize

AuditExtensionsWithPerson Method

Add patient object to the audit

Namespace:  SanteDB.Core.Security.Audit
Assembly:  SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.481-alpha
Syntax
public static IAuditBuilder WithPerson(
	this IAuditBuilder me,
	Person person,
	AuditableObjectLifecycle lifecycle
)

Parameters

me
Type: SanteDB.Core.Security.AuditIAuditBuilder

[Missing <param name="me"/> documentation for "M:SanteDB.Core.Security.Audit.AuditExtensions.WithPerson(SanteDB.Core.Security.Audit.IAuditBuilder,SanteDB.Core.Model.Entities.Person,SanteDB.Core.Model.Audit.AuditableObjectLifecycle)"]

person
Type: SanteDB.Core.Model.EntitiesPerson

[Missing <param name="person"/> documentation for "M:SanteDB.Core.Security.Audit.AuditExtensions.WithPerson(SanteDB.Core.Security.Audit.IAuditBuilder,SanteDB.Core.Model.Entities.Person,SanteDB.Core.Model.Audit.AuditableObjectLifecycle)"]

lifecycle
Type: SanteDB.Core.Model.AuditAuditableObjectLifecycle

[Missing <param name="lifecycle"/> documentation for "M:SanteDB.Core.Security.Audit.AuditExtensions.WithPerson(SanteDB.Core.Security.Audit.IAuditBuilder,SanteDB.Core.Model.Entities.Person,SanteDB.Core.Model.Audit.AuditableObjectLifecycle)"]

Return Value

Type: IAuditBuilder

[Missing <returns> documentation for "M:SanteDB.Core.Security.Audit.AuditExtensions.WithPerson(SanteDB.Core.Security.Audit.IAuditBuilder,SanteDB.Core.Model.Entities.Person,SanteDB.Core.Model.Audit.AuditableObjectLifecycle)"]

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