Constructor MailAnsweringAuditTrailRetention
- Namespace
- MailFathom.Application.Retrieval.AskMail.Audit
- Assembly
- MailFathom.Application.dll
MailAnsweringAuditTrailRetention(IMailAnsweringAuditSettingsReader, IMailAnsweringAuditEntryStore, TimeProvider)
Initializes the retention pass from the account's settings and the record it erases from.
public MailAnsweringAuditTrailRetention(IMailAnsweringAuditSettingsReader settingsReader, IMailAnsweringAuditEntryStore store, TimeProvider timeProvider)
Parameters
settingsReaderIMailAnsweringAuditSettingsReaderSupplies the window one account keeps its entries for.
storeIMailAnsweringAuditEntryStoreHolds the record the pass erases from.
timeProviderTimeProviderMeasures the window back from now.
Exceptions
- ArgumentNullException
Thrown when a required collaborator is null.