Constructor MailboxMutationAuditTrailRetention
- Namespace
- MailFathom.Application.Mail.Mutations.Audit
- Assembly
- MailFathom.Application.dll
MailboxMutationAuditTrailRetention(IMailboxMutationAuditSettingsReader, IMailboxMutationAuditEntryStore, TimeProvider)
Initializes the retention pass from the account's settings and the trail it erases from.
public MailboxMutationAuditTrailRetention(IMailboxMutationAuditSettingsReader settingsReader, IMailboxMutationAuditEntryStore store, TimeProvider timeProvider)
Parameters
settingsReaderIMailboxMutationAuditSettingsReaderSupplies the window one account keeps its entries for.
storeIMailboxMutationAuditEntryStoreHolds the trail the pass erases from.
timeProviderTimeProviderMeasures the window back from now.
Exceptions
- ArgumentNullException
Thrown when a required collaborator is null.