Constructor BrowsedThreadEmail
- Namespace
- MailFathom.Application.Emails.BrowseThread
- Assembly
- MailFathom.Application.dll
BrowsedThreadEmail(EmailSummary, int, StoredEmailId?, string?, EmailEnrichment?)
One message of a conversation, as a page of that conversation returns it.
public BrowsedThreadEmail(EmailSummary Email, int Position, StoredEmailId? AnsweredStoredEmailId, string? Contribution, EmailEnrichment? Enrichment)
Parameters
EmailEmailSummaryThe message itself, in the same projection a list row is drawn from.
PositionintThe zero-based place the message holds in the conversation's order.
AnsweredStoredEmailIdStoredEmailId?The message this one answers among the ones the caller is shown, or null when it is a root of what they are shown.
ContributionstringThe bounded opening of what this message added, or null where nothing has extracted it yet.
EnrichmentEmailEnrichmentWhat a derivation concluded about the message, or null where none has reached it.
Remarks
The summary is the listing's own projection rather than a shape of this reading's own, so a client parses one message across the surface and a list row and a thread row can never disagree about one message.
The contribution is the message's own text as extraction trimmed it — no quoted history and no signature block — which is what keeps the eighth reply of a thread from redrawing the seven above it. It is what a collapsed row shows; the whole message, quoted history included, is reached by the identity the summary carries.
The derivation is on this shape for the same reason the summary is: a message is one thing across this surface, and a conversation row that always answered null would be stating that no derivation has reached a message a list row beside it draws marks for.