Constructor ContactCorrespondenceReader
- Namespace
- MailFathom.Application.Contacts.Correspondence
- Assembly
- MailFathom.Application.dll
ContactCorrespondenceReader(IContactCorrespondenceIndex, MailboxScopeResolver, SensitiveContentEgressGuard, IMailboxReadTelemetry, AccessAuthorization, TimeProvider)
Initializes the use case.
public ContactCorrespondenceReader(IContactCorrespondenceIndex correspondenceIndex, MailboxScopeResolver scopeResolver, SensitiveContentEgressGuard egressGuard, IMailboxReadTelemetry readTelemetry, AccessAuthorization authorization, TimeProvider clock)
Parameters
correspondenceIndexIContactCorrespondenceIndexReads the conversations and the documents the addresses appear in.
scopeResolverMailboxScopeResolverDecides which accounts and folders the correlation runs against.
egressGuardSensitiveContentEgressGuardScans what the answer is about to publish, where this deployment scans anything.
readTelemetryIMailboxReadTelemetryPublishes the correlation as the operation it is, beside the call it happened inside.
authorizationAccessAuthorizationAnswers which principal reached this use case.
clockTimeProviderReads the instant the window is measured back from.
Exceptions
- ArgumentNullException
Thrown when any argument is null.