Constructor EvidenceEntry
- Namespace
- MailFathom.Application.Discovery.Presentation.Blocks
- Assembly
- MailFathom.Application.dll
EvidenceEntry(PresentationCitationId, PresentationText, double, PresentationFreshness)
Initializes one message an answer rests on.
public EvidenceEntry(PresentationCitationId source, PresentationText fragment, double relevance, PresentationFreshness freshness)
Parameters
sourcePresentationCitationIdThe citation the entry presents.
fragmentPresentationTextThe part of the message worth reading.
relevancedoubleHow well the entry answers the question, between
0and1inclusive.freshnessPresentationFreshnessHow current the local copy of this message was.
Exceptions
- ArgumentNullException
Thrown when
freshnessis null.- ArgumentException
Thrown when the source or the fragment is the unspecified default.
- ArgumentOutOfRangeException
Thrown when
relevanceis outside0to1.