Constructor MailAccountFolders
- Namespace
- MailFathom.Application.Folders
- Assembly
- MailFathom.Application.dll
MailAccountFolders(MailAccountFreshness, IReadOnlyList<DescribedMailFolder>)
One of the user's accounts together with the folders a screen draws beneath it.
public MailAccountFolders(MailAccountFreshness Account, IReadOnlyList<DescribedMailFolder> Folders)
Parameters
AccountMailAccountFreshnessHow current the account's local copy is, and under which names it is published.
FoldersIReadOnlyList<DescribedMailFolder>One entry per folder local state knows of, ordered by alias, empty when synchronization has reached none.
Remarks
The account travels with its folders rather than being left to a second request, because a tree is one thing on screen: a client that read the folders here and the mailbox names elsewhere would be composing one picture out of two answers, the second of them already stale relative to the first.