Table of Contents

Class MailRuleReach

Namespace
MailFathom.Application.Rules
Assembly
MailFathom.Application.dll

Which rules of a set one walk runs: the ones an automatic trigger reaches, or every rule declared.

public sealed record MailRuleReach : IEquatable<MailRuleReach>
Inheritance
MailRuleReach
Implements
Inherited Members

Remarks

A rule declares the automatic triggers it takes part in, so a walk started by one of them reaches the rules that named it and passes over the rest. A walk somebody asked for is not a trigger and is never one a rule opts into: an operator asking for a run is the request itself, and a rule declining to run because it had not agreed to be asked would be surprising in the one place surprise is least affordable. Such a walk therefore reaches every rule of the set, manual-only rules included.

A type of its own rather than a nullable trigger, because the two are different statements rather than a value and its absence, and because the paragraph above is a rule that belongs somewhere a reader can find it.

Properties

EveryRule

Gets the reach of a walk somebody asked for, which is every rule the set declares.

Methods

Reaches(MailRule)

Reports whether one rule takes part in this walk.

ToString()

Returns a string that represents the current object.

TriggeredBy(MailRuleTrigger)

Reads the reach of a walk one automatic trigger started.