Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

AuditTrailService.Instance Property

Provides access to the instance of the AuditTrailService. Use this property to access AuditTrailService‘s settings.

Namespace: DevExpress.Persistent.AuditTrail

Assembly: DevExpress.Persistent.BaseImpl.v20.2.dll

Declaration

public static AuditTrailService Instance { get; }

Property Value

Type Description
AuditTrailService

The instance of the AuditTrailService.

Remarks

The following example demonstrates how to use this property:

using DevExpress.Persistent.AuditTrail;
using static DevExpress.Persistent.AuditTrail.AuditTrailService;
// ...
public sealed partial class MySolutionModule : ModuleBase { 
    public override void Setup(XafApplication application) {
        base.Setup(application); 
        AuditTrailService.Instance.CustomizeAuditOperationTypeFilter += 
            new EventHandler<CustomAuditOperationTypeFilterEventArgs>(Instance_CustomizeAuditOperationTypeFilter);  
        //...  
    }  
    // ...
}  
See Also