Table of Contents

Constructor MailAccountDirectoryReader

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

MailAccountDirectoryReader(IMailAccountCatalog, ISynchronizationFreshnessReader, MailboxScopeResolver, IMailboxReadTelemetry)

Initializes the use case.

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

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.

Exceptions

ArgumentNullException

Thrown when any argument is null.