Table of Contents

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

outstanding MailRuleEvaluationRun

The run the account currently has recorded.

Returns

bool

true when starting this run is right, false when it must stand down.

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 outstanding is null.