Constructor MailboxTimelineReader
- Namespace
- MailFathom.Application.Emails.ListEmails
- Assembly
- MailFathom.Application.dll
MailboxTimelineReader(IStoredEmailTimelineReader, ISynchronizationFreshnessReader, MailboxScopeResolver, SensitiveContentEgressGuard, IMailboxReadTelemetry)
Initializes the use case.
public MailboxTimelineReader(IStoredEmailTimelineReader timelineReader, ISynchronizationFreshnessReader freshnessReader, MailboxScopeResolver scopeResolver, SensitiveContentEgressGuard egressGuard, IMailboxReadTelemetry readTelemetry)
Parameters
timelineReaderIStoredEmailTimelineReaderReads bounded pages of stored email summaries.
freshnessReaderISynchronizationFreshnessReaderReads how current the local copy of each folder is.
scopeResolverMailboxScopeResolverDecides which accounts and folders the listing 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.
Exceptions
- ArgumentNullException
Thrown when any argument is null.