Table of Contents

Method NotMatched

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

NotMatched(string, IReadOnlyList<MailRuleFact>?, TimeSpan)

Records that the condition answered that the email does not match.

public static MailRuleEvaluation NotMatched(string ruleName, IReadOnlyList<MailRuleFact>? readFacts = null, TimeSpan duration = default)

Parameters

ruleName string

The rule's name.

readFacts IReadOnlyList<MailRuleFact>

The facts the condition reached, or null where the caller observed none.

duration TimeSpan

How long the condition took to answer.

Returns

MailRuleEvaluation

The evaluation.

Exceptions

ArgumentException

Thrown when ruleName is empty or whitespace.