Constructor MailRuleSetEvaluator
- Namespace
- MailFathom.Application.Rules
- Assembly
- MailFathom.Application.dll
MailRuleSetEvaluator(TimeProvider)
Initializes the evaluator.
public MailRuleSetEvaluator(TimeProvider timeProvider)
Parameters
timeProviderTimeProviderTimes the evaluation timeout each rule set declares.
Remarks
The timeout is read from the rule set rather than held here, so an operator who changes it gets the new value on the next pass along with whatever else they changed, instead of on the next restart.
Exceptions
- ArgumentNullException
Thrown when
timeProvideris null.