Table of Contents

Constructor MailAccountDirectoryReader

Namespace
MailFathom.Application.Accounts
Assembly
MailFathom.Application.dll

MailAccountDirectoryReader(IMailAccountCatalog, ISynchronizationFreshnessReader, MailboxScopeResolver, IMailboxReadTelemetry, AccessAuthorization)

Initializes the use case.

public MailAccountDirectoryReader(IMailAccountCatalog accountCatalog, ISynchronizationFreshnessReader freshnessReader, MailboxScopeResolver scopeResolver, IMailboxReadTelemetry readTelemetry, AccessAuthorization authorization)

Parameters

accountCatalog IMailAccountCatalog

Describes the accounts this deployment serves.

freshnessReader ISynchronizationFreshnessReader

Reads how current the local copy of each folder is.

scopeResolver MailboxScopeResolver

Answers which folders of those accounts a tool may see.

readTelemetry IMailboxReadTelemetry

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

authorization AccessAuthorization

Answers which principal reached this use case.

Exceptions

ArgumentNullException

Thrown when any argument is null.