Table of Contents

Class SpamClassificationHistoryQueryResult

Namespace
MailFathom.Application.Spam.History
Assembly
MailFathom.Application.dll

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

public sealed record SpamClassificationHistoryQueryResult : IEquatable<SpamClassificationHistoryQueryResult>
Inheritance
SpamClassificationHistoryQueryResult
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, present exactly when Outcome is Accepted.

Methods

Accepted(SpamClassificationHistoryQuery)

Reports a request that names a page.

Refused(SpamClassificationHistoryQueryOutcome)

Reports a request that names no page.