Table of Contents

Constructor DescribedMailAccount

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

DescribedMailAccount(ServedMailAccount, IReadOnlyList<MailboxFolderFreshness>)

Describes one served account together with how current the local copy of each of its folders is.

public DescribedMailAccount(ServedMailAccount Account, IReadOnlyList<MailboxFolderFreshness> Folders)

Parameters

Account ServedMailAccount

What configuration declares about the account.

Folders IReadOnlyList<MailboxFolderFreshness>

One entry per folder local state knows of, ordered by alias, empty when no folder has been discovered yet.

Remarks

The folders are what synchronization has reached rather than what an operator configured. An account whose folders are all absent here has never been synchronized, which is a different statement from an account whose folders are present and stale, and a reader deciding whether an empty mailbox answer means anything needs to tell the two apart.