Constructor PresentationEvidence
- Namespace
- MailFathom.Application.Discovery.Presentation
- Assembly
- MailFathom.Application.dll
PresentationEvidence(PresentationSupport, IReadOnlyList<PresentationCitationId>, PresentationFreshness, IReadOnlyList<ConflictingClaim>?)
Initializes what the correspondence does for one block.
public PresentationEvidence(PresentationSupport support, IReadOnlyList<PresentationCitationId> citations, PresentationFreshness freshness, IReadOnlyList<ConflictingClaim>? conflictingClaims = null)
Parameters
supportPresentationSupportWhat the correspondence does for what the block states.
citationsIReadOnlyList<PresentationCitationId>The sources the block rests on, in the order they are worth reading.
freshnessPresentationFreshnessHow current the data behind the block was.
conflictingClaimsIReadOnlyList<ConflictingClaim>The sides of the disagreement, where the correspondence disagrees with itself.
Exceptions
- ArgumentNullException
Thrown when
citations,freshness, orconflictingClaimsis null.- ArgumentException
Thrown when the citations, the freshness, or the sides do not match the support, a citation is unspecified, a citation is named twice, there are more than MaxCitations of them, or a side names a source the block does not rest on.