Table of Contents

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

store IMailRuleExecutionStore

Holds the history the pass erases from.

options MailRuleEvaluationOptions

Declares the window an execution is kept for.

timeProvider TimeProvider

Measures the window back from now.

Exceptions

ArgumentNullException

Thrown when a collaborator is null.