Table of Contents

Constructor MailAccountDirectory

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

MailAccountDirectory(bool, IReadOnlyList<DescribedMailAccount>)

What this deployment serves, as a caller deciding which mailbox to ask about reads it.

public MailAccountDirectory(bool SynchronizationEnabled, IReadOnlyList<DescribedMailAccount> Accounts)

Parameters

SynchronizationEnabled bool

Whether the deployment refreshes the local copy of these accounts at all.

Accounts IReadOnlyList<DescribedMailAccount>

The served accounts, ordered by identifier, empty when the deployment serves none.

Remarks

The two answer different halves of one question. The accounts say which mailboxes can be read and what to name them, and the switch says whether what is read is being kept up to date — a deployment with synchronization off answers every query from a copy that stops advancing, and nothing in the per-folder timestamps says why it stopped.