Method Supersedes
- Namespace
- MailFathom.Application.Rules.Evaluation
- Assembly
- MailFathom.Application.dll
Supersedes(MailRuleEvaluationRun)
Answers whether this run, which is starting, may take the place of one the account already has.
public bool Supersedes(MailRuleEvaluationRun outstanding)
Parameters
outstandingMailRuleEvaluationRunThe run the account currently has recorded.
Returns
Remarks
The whole precedence rule between the two triggers, in the one place both the request path and the write that claims the account's row read it from. A run that has ended is not in anybody's way. An operator's request replaces a scheduled walk, because it reaches every rule the account has while the scheduled one reaches only the rules that opted into a schedule — answering the wider request with the narrower run would report a rule set as applied when part of it never was. Everything else stands down, including a schedule meeting a schedule.
Exceptions
- ArgumentNullException
Thrown when
outstandingis null.