Table of Contents

Constructor AccountCoverage

Namespace
MailFathom.Application.Discovery.Presentation
Assembly
MailFathom.Application.dll

AccountCoverage(PresentationText, PresentationFreshness, DateTimeOffset?, DateTimeOffset?)

Initializes what one run read of one account.

public AccountCoverage(PresentationText account, PresentationFreshness freshness, DateTimeOffset? earliestReceivedAt, DateTimeOffset? latestReceivedAt)

Parameters

account PresentationText

MailFathom's own generated identifier for the account.

freshness PresentationFreshness

How current the local copy of the account was when the run read it.

earliestReceivedAt DateTimeOffset?

When the oldest mail the run drew on from this account arrived, or null where it drew on none.

latestReceivedAt DateTimeOffset?

When the newest mail the run drew on from this account arrived, or null where it drew on none.

Exceptions

ArgumentNullException

Thrown when freshness is null.

ArgumentException

Thrown when account is the unspecified default, when only one of the two dates is present, or when the earliest is after the latest.