Table of Contents

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

settingsReader IMailAnsweringAuditSettingsReader

Answers which accounts asked for a record to be kept.

store IMailAnsweringAuditEntryStore

Keeps the entries.

commitPolicy OptimisticConcurrencyRetryPolicy

Commits the append in a transaction of its own, retrying an optimistic conflict.

telemetry MailAnsweringAuditTelemetry

Reports an append that did not happen.

Exceptions

ArgumentNullException

Thrown when a required collaborator is null.