Table of Contents

Method Refused

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

Refused(IReadOnlyList<string>)

Reports a condition that cannot be used, with every reason found while reading it.

public static MailRuleConditionCompilation Refused(IReadOnlyList<string> errors)

Parameters

errors IReadOnlyList<string>

One message per defect, each naming the rule, what was wrong, and where.

Returns

MailRuleConditionCompilation

The refusal.

Exceptions

ArgumentNullException

Thrown when errors is null.

ArgumentException

Thrown when errors is empty, which would report a refusal nobody could act on.