Class DerivableThread
- Namespace
- MailFathom.Application.Emails.ThreadStates
- Assembly
- MailFathom.Application.dll
One conversation as a derivation is shown it, and the shape of it the answer will be recorded against.
public sealed record DerivableThread : IEquatable<DerivableThread>
- Inheritance
-
DerivableThread
- Implements
- Inherited Members
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.
Constructors
- 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.
Properties
- ExceedsBound
Whether the conversation holds more messages than one derivation may take in.
- Messages
The messages in the conversation's own order, or empty where the conversation is past the bound.
- Revision
The shape of the conversation this reading was taken from.
- ThreadId
The conversation being derived from, which is the surviving thread of any merge.