Constructor MailRuleHistoryRetention
- Namespace
- MailFathom.Application.Rules.History
- Assembly
- MailFathom.Application.dll
MailRuleHistoryRetention(IMailRuleExecutionStore, MailRuleEvaluationOptions, TimeProvider)
Initializes the retention pass from the declared window and the history it erases from.
public MailRuleHistoryRetention(IMailRuleExecutionStore store, MailRuleEvaluationOptions options, TimeProvider timeProvider)
Parameters
storeIMailRuleExecutionStoreHolds the history the pass erases from.
optionsMailRuleEvaluationOptionsDeclares the window an execution is kept for.
timeProviderTimeProviderMeasures the window back from now.
Exceptions
- ArgumentNullException
Thrown when a collaborator is null.