Class DescribedMailAccount
- Namespace
- MailFathom.Application.Accounts
- Assembly
- MailFathom.Application.dll
Describes one served account together with how current the local copy of each of its folders is.
public sealed record DescribedMailAccount : IEquatable<DescribedMailAccount>
- Inheritance
-
DescribedMailAccount
- Implements
- Inherited Members
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.
Constructors
- DescribedMailAccount(ServedMailAccount, IReadOnlyList<MailboxFolderFreshness>)
Describes one served account together with how current the local copy of each of its folders is.
Properties
- Account
What configuration declares about the account.
- Folders
One entry per folder local state knows of, ordered by alias, empty when no folder has been discovered yet.