Table of Contents

Constructor PresentationPlan

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

PresentationPlan(int, IReadOnlyList<PresentationBlock>, IReadOnlyList<PresentationCitation>, IReadOnlyList<AccountCoverage>, IReadOnlyList<PresentationLimitation>)

Initializes what one run produced.

public PresentationPlan(int schemaVersion, IReadOnlyList<PresentationBlock> blocks, IReadOnlyList<PresentationCitation> citations, IReadOnlyList<AccountCoverage> coverage, IReadOnlyList<PresentationLimitation> limitations)

Parameters

schemaVersion int

The revision of this contract the plan was written against.

blocks IReadOnlyList<PresentationBlock>

The blocks, in the order they are read.

citations IReadOnlyList<PresentationCitation>

The sources the blocks rest on, declared once each.

coverage IReadOnlyList<AccountCoverage>

What the run read, one entry per account it drew on.

limitations IReadOnlyList<PresentationLimitation>

What the run knows about its own reach.

Exceptions

ArgumentNullException

Thrown when blocks, citations, coverage, or limitations is null.

ArgumentOutOfRangeException

Thrown when schemaVersion is below 1.

ArgumentException

Thrown when a list is empty where it may not be or is oversized, a citation is declared twice, an account is reported twice, a limitation is named twice, a block names a citation the plan does not declare, or a backed block rests on a source the plan says nobody could read.