Table of Contents

Class AuthoredMailDeletionResult

Namespace
MailFathom.Application.Mail.Mutations.Authoring
Assembly
MailFathom.Application.dll

What one authored delete became: the durable record that now carries it, or the reason there is none.

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

Remarks

It reports what was written down rather than what a mail server has done, because at the moment this is produced no command has gone out. The lifecycle is reported rather than assumed to be pending for the reason a move's is: a request repeated under the identity that already produced a record is answered with that record and the stage it has since reached, so a caller retrying learns its delete is already on its way instead of opening a second one.

Constructors

AuthoredMailDeletionResult(MailDeletionOutcome, MailboxMutationRecordId?, MailboxMutationLifecycle?)

What one authored delete became: the durable record that now carries it, or the reason there is none.

Properties

Lifecycle

Where that record stands, which is pending for a delete nothing has attempted yet.

Outcome

What happened.

RecordId

The record everything afterwards refers to the delete by, present only where one was opened.

Methods

Applied(MailboxMutationRecordId?, MailboxMutationLifecycle?)

Reports a delete committed to the stored state of an account holding or restoring its mailbox, as a move into its trash.

NotRecorded(MailDeletionOutcome)

Reports a delete that produced no record, and why.

Recorded(MailboxMutationRecordId, MailboxMutationLifecycle)

Reports a delete that was written down.