Table of Contents

Class MailAnsweringAuditQueryResult

Namespace
MailFathom.Application.Retrieval.AskMail.Audit
Assembly
MailFathom.Application.dll

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

public sealed record MailAnsweringAuditQueryResult : IEquatable<MailAnsweringAuditQueryResult>
Inheritance
MailAnsweringAuditQueryResult
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(MailAnsweringAuditQuery)

Reports a request that names a page.

Refused(MailAnsweringAuditQueryOutcome)

Reports a request that names no page.