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
NuGet Package: DevExpress.Persistent.BaseImpl
Declaration
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