Table of Contents

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

SourceFolder MailFolderResolution

The binding the message's occurrence names, which is what a listing and a signal name it by.

HoldsSourceOccurrence bool

Whether a source still holds the message at the place the occurrence names.

Folder LocalMailFolderId?

The local folder the message is in, or null where none has been assigned yet.

IsSeen bool

Whether the message is read.

IsFlagged bool

Whether the message is starred.

Keywords RemoteEmailKeywords

The 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.