Class MailFolderFreshness
- Namespace
- MailFathom.Application.Accounts
- Assembly
- MailFathom.Application.dll
How current one folder's local copy is, in the three facts a screen drawing it beside its mail needs.
public sealed record MailFolderFreshness : IEquatable<MailFolderFreshness>
- Inheritance
-
MailFolderFreshness
- Implements
- Inherited Members
Remarks
It is MailboxFolderFreshness — the durable half, which is one instant — reduced together with what this process's synchronization run ledger observed. Neither source answers on its own: the instant says how old the copy is and nothing about whether anything is still refreshing it, and the ledger says how the last attempt went and nothing about how much of the folder had already been stored before it.
Being behind is deliberately not a state. A folder can be behind under any of them — a run that succeeded within its batch budget leaves mail for the next one, and a failing folder is usually behind as well — so folding it in would make one field answer two questions and lose whichever the reader was not asking.
Constructors
- MailFolderFreshness(MailFolderAlias, MailSynchronizationState, DateTimeOffset?, bool)
How current one folder's local copy is, in the three facts a screen drawing it beside its mail needs.
Properties
- Alias
MailFathom's own name for the folder.
- IsBehind
Whether the folder's last attempt ended with mail it had not yet taken in.
- State
Whether the deployment's last attempt at the folder succeeded, failed, found no server, or has never happened.
- SynchronizedAt
When the folder last durably committed progress, or null when it never has.