Method Create
- Namespace
- MailFathom.Application.Rules
- Assembly
- MailFathom.Application.dll
Create(MailRuleSetRevision, IReadOnlyList<MailRuleEvaluation>, bool, MailRuleActionPlan?)
Records the result of one pass over a rule set.
public static MailRuleSetEvaluation Create(MailRuleSetRevision revision, IReadOnlyList<MailRuleEvaluation> evaluations, bool stoppedEarly, MailRuleActionPlan? actionPlan = null)
Parameters
revisionMailRuleSetRevisionThe rule set the pass ran against.
evaluationsIReadOnlyList<MailRuleEvaluation>What each rule the pass reached concluded, in declared order.
stoppedEarlyboolWhether a matching rule ended the pass.
actionPlanMailRuleActionPlanWhat the matching rules ask the mailbox for, or nothing when they ask for no change.
Returns
- MailRuleSetEvaluation
The pass.
Exceptions
- ArgumentNullException
Thrown when
evaluationsis null.- ArgumentException
Thrown when the revision is unspecified.