Constructor AuthoredMailFlagChangeResult
- Namespace
- MailFathom.Application.Mail.Mutations.Authoring
- Assembly
- MailFathom.Application.dll
AuthoredMailFlagChangeResult(StoredEmailId, MailAccountId, MailFolderAlias, IReadOnlyList<RecordedMailFlagMutation>)
What one caller's flag and keyword change became: a durable record per value it asked for.
public AuthoredMailFlagChangeResult(StoredEmailId StoredEmailId, MailAccountId AccountId, MailFolderAlias FolderAlias, IReadOnlyList<RecordedMailFlagMutation> Recorded)
Parameters
StoredEmailIdStoredEmailIdThe email the change was asked for.
AccountIdMailAccountIdThe account that email belongs to, which is the account whose run will carry the change.
FolderAliasMailFolderAliasThe operator's own name for the folder the email is in.
RecordedIReadOnlyList<RecordedMailFlagMutation>One entry per value the request named, in the order the request states them.
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. That is the honest answer and it is also the useful one: the record is what survives a crash, what convergence resumes, and what an operator reads when a change has not arrived, so its identity is what a caller needs in hand.