Constructor MailTimelineBrowser
- Namespace
- MailFathom.Application.Emails.BrowseTimeline
- Assembly
- MailFathom.Application.dll
MailTimelineBrowser(IStoredEmailTimelineReader, IStoredEmailPreviewReader, IStoredEmailEnrichmentReader, IEmailThreadReader, MailboxScopeResolver, SensitiveContentEgressGuard, IMailboxReadTelemetry, AccessAuthorization)
Initializes the use case.
public MailTimelineBrowser(IStoredEmailTimelineReader timelineReader, IStoredEmailPreviewReader previewReader, IStoredEmailEnrichmentReader enrichmentReader, IEmailThreadReader threadReader, MailboxScopeResolver scopeResolver, SensitiveContentEgressGuard egressGuard, IMailboxReadTelemetry readTelemetry, AccessAuthorization authorization)
Parameters
timelineReaderIStoredEmailTimelineReaderReads bounded pages of stored email summaries.
previewReaderIStoredEmailPreviewReaderReads the bounded opening of the text of the emails a page returned.
enrichmentReaderIStoredEmailEnrichmentReaderReads what a derivation concluded about the emails a page returned.
threadReaderIEmailThreadReaderCounts the conversations the emails a page returned belong to.
scopeResolverMailboxScopeResolverDecides which accounts and folders the list runs against.
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.