Table of Contents

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

staleness PresentationStaleness

How far behind the mail server the data may be.

observedAt DateTimeOffset?

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.