Class MailThreadStateBrowser
- Namespace
- MailFathom.Application.Emails.ThreadStates
- Assembly
- MailFathom.Application.dll
Reads where one conversation stands, as the block a client draws beside the conversation itself.
public sealed class MailThreadStateBrowser
- Inheritance
-
MailThreadStateBrowser
- Inherited Members
Remarks
It exists so the two questions a thread screen asks — what the exchange says, and where it stands — are scoped by one decision rather than by two that could drift. The scope is MailThreadBrowser's own: every account this user holds, no folder narrowing, and junk included, because a conversation is read by membership and a reply that landed in junk is still part of the exchange. A state published under a wider scope than the conversation it describes would report a withheld folder's contents one derived sentence at a time.
It reaches no provider and starts no derivation. A conversation nothing has been derived about answers with null, which is a state a client draws rather than a failure it reports.
Constructors
- MailThreadStateBrowser(IStoredThreadStateReader, MailboxScopeResolver, SensitiveContentEgressGuard, AccessAuthorization)
Initializes the read.
Methods
- ReadStateAsync(EmailThreadId, CancellationToken)
Reads where one of the acting user's conversations stands.