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
accountCatalogIMailAccountCatalogDescribes the accounts this deployment serves.
freshnessReaderISynchronizationFreshnessReaderReads how current the local copy of each folder is.
scopeResolverMailboxScopeResolverAnswers which folders of those accounts a tool may see.
readTelemetryIMailboxReadTelemetryPublishes the read as the operation it is, beside the call it happened inside.
Exceptions
- ArgumentNullException
Thrown when any argument is null.