Constructor LocalEmailState
- Namespace
- MailFathom.Application.Mail.Mutations.Local
- Assembly
- MailFathom.Application.dll
LocalEmailState(MailFolderResolution, bool, LocalMailFolderId?, bool, bool, RemoteEmailKeywords)
Where a stored message is kept and what it carries, as a local change reads and writes it.
public LocalEmailState(MailFolderResolution SourceFolder, bool HoldsSourceOccurrence, LocalMailFolderId? Folder, bool IsSeen, bool IsFlagged, RemoteEmailKeywords Keywords)
Parameters
SourceFolderMailFolderResolutionThe binding the message's occurrence names, which is what a listing and a signal name it by.
HoldsSourceOccurrenceboolWhether a source still holds the message at the place the occurrence names.
FolderLocalMailFolderId?The local folder the message is in, or null where none has been assigned yet.
IsSeenboolWhether the message is read.
IsFlaggedboolWhether the message is starred.
KeywordsRemoteEmailKeywordsThe keywords the message carries.
Remarks
The occurrence is reported as a fact rather than as an identity, because the identity a change is recorded against is the one the requester resolved and wrote into its request. What the transaction has to answer is narrower: a message the drain has taken off the source has nothing for a mutation record to be issued against, and one that still stands there — never drained, or appended back by a restore — has.