Table of Contents

Class ThreadStateEntry

Namespace
MailFathom.Application.Emails.ThreadStates
Assembly
MailFathom.Application.dll

One thing a conversation settled, left open, undertook, or changed between two versions of a document.

public sealed record ThreadStateEntry : IEquatable<ThreadStateEntry>
Inheritance
ThreadStateEntry
Implements
Inherited Members

Remarks

Never the sentence alone. A statement about somebody's correspondence that cannot be traced to the message that made it is the thing this record exists to rule out, so Sources is a constructor argument that may not be empty rather than a property a caller can leave unset.

The sources name messages of the conversation rather than passages inside them, which is what the screen beside a thread draws and what a reader follows: the correspondence is already in front of them, so being taken to the message that made the statement is the whole of the check. They are named in the same terms the run surface's own citations name a message, so one resolver follows both.

The text, the owner, and the date are derived from mail and are personal data of the same standing as the message they came from: never logged, never attached to a span, and scanned by whatever egress guard is switched on before any of them leaves this deployment.

Fields

MaximumOwedByLength

The greatest length the name of whoever owes a commitment carries.

MaximumSourceCount

The greatest number of messages one statement may cite.

MaximumTextLength

The greatest length a statement carries before it is shortened to it.

Properties

Aspect

Gets which of the four things this statement says.

DueAt

Gets when the commitment falls due, or null where nothing says.

OwedBy

Gets who owes the commitment, or null where nothing names one.

Sources

Gets the messages of the conversation the statement rests on, in the order the producer named them.

Text

Gets what the statement says, which is the sentence a card draws.

Methods

Create(ThreadStateAspect, string, IReadOnlyList<StoredEmailId>, string?, DateTimeOffset?)

Records one statement about where a conversation stands.