Constructor PresentationFreshness
- Namespace
- MailFathom.Application.Discovery.Presentation
- Assembly
- MailFathom.Application.dll
PresentationFreshness(PresentationStaleness, DateTimeOffset?)
Initializes the freshness of data behind a block.
public PresentationFreshness(PresentationStaleness staleness, DateTimeOffset? observedAt)
Parameters
stalenessPresentationStalenessHow far behind the mail server the data may be.
observedAtDateTimeOffset?When the local copy was last established against the mail server.
Exceptions
- ArgumentException
Thrown when an established verdict carries no timestamp, or an unknown one carries a timestamp.