Table of Contents

Constructor MailAccountFreshnessDirectory

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

MailAccountFreshnessDirectory(bool, IReadOnlyList<MailAccountFreshness>)

The user's accounts and how current each one's local copy is, as a reader that draws no mail sees them.

public MailAccountFreshnessDirectory(bool SynchronizationEnabled, IReadOnlyList<MailAccountFreshness> Accounts)

Parameters

SynchronizationEnabled bool

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

Accounts IReadOnlyList<MailAccountFreshness>

The user's accounts, ordered as the catalog orders them, empty when they own none.

Remarks

The switch is the deployment's rather than the user's, and it is answered beside the accounts for the reason MailAccountDirectory answers it: an account that last synchronized a week ago is a different fact on a deployment that is trying every ten minutes and on one that stopped trying, and no per-account value says which.