Table of Contents

Class MailRuleExecutionQueryResult

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

Carries the query a request named, or the reason it named none.

public sealed record MailRuleExecutionQueryResult : IEquatable<MailRuleExecutionQueryResult>
Inheritance
MailRuleExecutionQueryResult
Implements
Inherited Members

Remarks

A refusal is a result rather than an exception because the immediate caller acts on it and continues: the administrative endpoint turns it into a 400 naming what the caller has to change, and nothing above that has to decide what a malformed page request means.

Properties

Outcome

Gets what happened.

Query

Gets the query, which is present exactly when Outcome is Accepted.

Methods

Accepted(MailRuleExecutionQuery)

Reports a request that names a page.

Refused(MailRuleExecutionQueryOutcome)

Reports a request that names no page.