Constructor DerivableThread
- Namespace
- MailFathom.Application.Emails.ThreadStates
- Assembly
- MailFathom.Application.dll
DerivableThread(EmailThreadId, string?, ThreadStateRevision, IReadOnlyList<DerivableThreadMessage>, bool)
One conversation as a derivation is shown it, and the shape of it the answer will be recorded against.
public DerivableThread(EmailThreadId ThreadId, string? Subject, ThreadStateRevision Revision, IReadOnlyList<DerivableThreadMessage> Messages, bool ExceedsBound)
Parameters
ThreadIdEmailThreadIdThe conversation being derived from, which is the surviving thread of any merge.
SubjectstringThe subject the conversation is read under, or null where no message carried one.
RevisionThreadStateRevisionThe shape of the conversation this reading was taken from.
MessagesIReadOnlyList<DerivableThreadMessage>The messages in the conversation's own order, or empty where the conversation is past the bound.
ExceedsBoundboolWhether the conversation holds more messages than one derivation may take in.
Remarks
Deliberately narrow, exactly as one message's derivation is. A reading is shown the subject, who wrote each message, when they wrote it, and what they said; it is shown no folder, no account, no addressee list, and no mailbox. None of those is what *where did we leave this* is derived from, and every one of them is somebody this deployment would then be sending to a provider for no reading it buys.
A conversation past the bound arrives with no messages at all rather than with the leading ones. That is what makes ExceedsBound honest: the text was never read out of the store, so nothing partial exists to be sent by mistake, and the record written for it says the conversation was not read rather than summarizing a third of it.