Constructor MailThreadBrowser
- Namespace
- MailFathom.Application.Emails.BrowseThread
- Assembly
- MailFathom.Application.dll
MailThreadBrowser(IEmailThreadReader, IStoredEmailSummaryReader, IStoredEmailPreviewReader, IStoredEmailEnrichmentReader, MailboxScopeResolver, SensitiveContentEgressGuard, IMailboxReadTelemetry, AccessAuthorization)
Initializes the use case.
public MailThreadBrowser(IEmailThreadReader threadReader, IStoredEmailSummaryReader summaryReader, IStoredEmailPreviewReader previewReader, IStoredEmailEnrichmentReader enrichmentReader, MailboxScopeResolver scopeResolver, SensitiveContentEgressGuard egressGuard, IMailboxReadTelemetry readTelemetry, AccessAuthorization authorization)
Parameters
threadReaderIEmailThreadReaderReads which messages one conversation holds, narrowed to what the caller may see.
summaryReaderIStoredEmailSummaryReaderReads the listing projection of the messages one page names.
previewReaderIStoredEmailPreviewReaderReads the bounded opening of the text of those messages.
enrichmentReaderIStoredEmailEnrichmentReaderReads what a derivation concluded about the messages one page names.
scopeResolverMailboxScopeResolverDecides which accounts and folders the conversation is read across.
egressGuardSensitiveContentEgressGuardScans what the page is about to publish, where this deployment scans anything.
readTelemetryIMailboxReadTelemetryPublishes the read as the operation it is, beside the call it happened inside.
authorizationAccessAuthorizationAnswers which principal reached this use case.
Exceptions
- ArgumentNullException
Thrown when any argument is null.