Table of Contents

Class AuditContextOptions

Namespace
Excalibur.Compliance
Assembly
Excalibur.Compliance.Abstractions.dll

Configuration options for the scoped IAuditContext.

public sealed class AuditContextOptions
Inheritance
AuditContextOptions
Inherited Members

Properties

DefaultEventType

Gets or sets the default event type when not specified by the handler.

public AuditEventType DefaultEventType { get; set; }

Property Value

AuditEventType

IncludeMessageTypeName

Gets or sets a value indicating whether to include the message type name as metadata on all assertions.

public bool IncludeMessageTypeName { get; set; }

Property Value

bool

MaxAssertionsPerScope

Gets or sets the maximum number of assertions per handler execution. Excess assertions are logged as a warning and dropped (never thrown).

[Range(1, 1000)]
public int MaxAssertionsPerScope { get; set; }

Property Value

int