Table of Contents

Class AuthoredMailRelocationResult

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

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

public sealed record AuthoredMailRelocationResult : IEquatable<AuthoredMailRelocationResult>
Inheritance
AuthoredMailRelocationResult
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 flag change'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 move is already on its way instead of opening a second one.

Constructors

AuthoredMailRelocationResult(MailRelocationOutcome, MailFolderAlias?, MailboxMutationRecordId?, MailboxMutationLifecycle?)

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

Properties

Destination

MailFathom's own name for the folder the move was recorded against, present only where one was.

Lifecycle

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

Outcome

What happened.

RecordId

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

Methods

Applied(MailFolderAlias, MailboxMutationRecordId?, MailboxMutationLifecycle?)

Reports a move committed to the stored state of an account holding or restoring its mailbox.

NotRecorded(MailRelocationOutcome)

Reports a move that produced no record, and why.

Recorded(MailFolderAlias, MailboxMutationRecordId, MailboxMutationLifecycle)

Reports a move that was written down.