Table of Contents

Method Create

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

Create(IReadOnlyList<MailRuleAction>)

Builds the set of actions a rule applies, in the order they are applied.

public static MailRuleActionSet Create(IReadOnlyList<MailRuleAction> actions)

Parameters

actions IReadOnlyList<MailRuleAction>

The actions as they were declared, in any order.

Returns

MailRuleActionSet

The set.

Exceptions

ArgumentNullException

Thrown when actions is null, or one of them is.

ArgumentException

Thrown when the actions name a combination MailFathom refuses, which validation reports first.