Constructor MailAnsweringAuditTrail
- Namespace
- MailFathom.Infrastructure.Persistence.Answering
- Assembly
- MailFathom.Infrastructure.dll
MailAnsweringAuditTrail(IMailAnsweringAuditSettingsReader, IMailAnsweringAuditEntryStore, OptimisticConcurrencyRetryPolicy, MailAnsweringAuditTelemetry)
Initializes the record from the settings that decide who owes one and the store it appends to.
public MailAnsweringAuditTrail(IMailAnsweringAuditSettingsReader settingsReader, IMailAnsweringAuditEntryStore store, OptimisticConcurrencyRetryPolicy commitPolicy, MailAnsweringAuditTelemetry telemetry)
Parameters
settingsReaderIMailAnsweringAuditSettingsReaderAnswers which accounts asked for a record to be kept.
storeIMailAnsweringAuditEntryStoreKeeps the entries.
commitPolicyOptimisticConcurrencyRetryPolicyCommits the append in a transaction of its own, retrying an optimistic conflict.
telemetryMailAnsweringAuditTelemetryReports an append that did not happen.
Exceptions
- ArgumentNullException
Thrown when a required collaborator is null.