Constructor TimelineEntry
- Namespace
- MailFathom.Application.Discovery.Presentation.Blocks
- Assembly
- MailFathom.Application.dll
TimelineEntry(DateTimeOffset, PresentationText, PresentationText, IReadOnlyList<PresentationCitationId>)
Initializes one dated event.
public TimelineEntry(DateTimeOffset occurredAt, PresentationText summary, PresentationText subject, IReadOnlyList<PresentationCitationId> sources)
Parameters
occurredAtDateTimeOffsetWhen the event happened, as the correspondence dates it.
summaryPresentationTextWhat happened.
subjectPresentationTextWhat it happened to.
sourcesIReadOnlyList<PresentationCitationId>The citations this entry rests on.
Exceptions
- ArgumentNullException
Thrown when
sourcesis null.- ArgumentException
Thrown when a text is the unspecified default, or a citation is unspecified or named twice.