Interface ICommandAuditor
Interface that auditors must implement
Namespace: AzureFromTheTrenches.Commanding.Abstractions
Assembly: AzureFromTheTrenches.Commanding.Abstractions.dll
Syntax
public interface ICommandAuditor
Methods
| Improve this Doc View SourceAudit(AuditItem, CancellationToken)
Should perform an audit by sending the AuditItem to the store
Declaration
Task Audit(AuditItem auditItem, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
AuditItem | auditItem | The item to audit |
CancellationToken | cancellationToken | A cancellation token |
Returns
Type | Description |
---|---|
Task | Awaitable task |