Table of Contents

Interface IMailRuleSetSource

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

Hands out the rule set new passes run against.

public interface IMailRuleSetSource

Remarks

A pass reads this once when it starts and holds what it was given for its duration. That is the whole of the reload contract for rules: an edit reaches the next pass rather than one already running, so a pass finishes against the revision it began with and nothing changes what a rule means halfway through an email.

Reading is deliberately not asynchronous and does not fail. The rule set was proven usable before it was published, so a reader has nothing to handle and no reason to wait; a candidate that could not be proven never becomes the current one.

Properties

Current

Gets the rule set a pass starting now runs against.