Table of Contents

Constructor DerivableThreadMessage

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

DerivableThreadMessage(StoredEmailId, int, string?, DateTimeOffset?, string)

One message of a conversation as a derivation is shown it.

public DerivableThreadMessage(StoredEmailId StoredEmailId, int Position, string? AuthorDisplayName, DateTimeOffset? SentAt, string Text)

Parameters

StoredEmailId StoredEmailId

The message, which is what a statement drawn from it cites.

Position int

The zero-based place the message holds in the conversation's order, which is how a turn names it.

AuthorDisplayName string

The name the message was written under, or null where it carried none.

SentAt DateTimeOffset?

When the message was written, which is what a date its text states relatively is read against.

Text string

What the message added, with the history it quoted already trimmed off, bounded by what one turn may carry.

Remarks

The author is a display name rather than an address, because what a statement needs to say is who undertook something and a name is what a reader recognizes. An address would add a second identifier to every turn for a reading that would not change, and addresses are the part of a header worth not sending where a name will do.