Table of Contents

Method Compose

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

Compose(IReadOnlyList<MailRule>)

Folds the actions of the rules that matched one email into the changes the mailbox will be asked for.

public static MailRuleActionPlan Compose(IReadOnlyList<MailRule> matchedRules)

Parameters

matchedRules IReadOnlyList<MailRule>

The rules that matched, in the order the set declares them.

Returns

MailRuleActionPlan

The plan.

Exceptions

ArgumentNullException

Thrown when matchedRules is null.