Table of Contents

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

correspondenceIndex IContactCorrespondenceIndex

Reads the conversations and the documents the addresses appear in.

scopeResolver MailboxScopeResolver

Decides which accounts and folders the correlation runs against.

egressGuard SensitiveContentEgressGuard

Scans what the answer is about to publish, where this deployment scans anything.

readTelemetry IMailboxReadTelemetry

Publishes the correlation as the operation it is, beside the call it happened inside.

authorization AccessAuthorization

Answers which principal reached this use case.

clock TimeProvider

Reads the instant the window is measured back from.

Exceptions

ArgumentNullException

Thrown when any argument is null.