Table of Contents

Constructor ThreadCommitment

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

ThreadCommitment(PresentationText, ThreadParticipant?, DateTimeOffset?, IReadOnlyList<PresentationCitationId>)

Initializes one commitment.

public ThreadCommitment(PresentationText text, ThreadParticipant? owedBy, DateTimeOffset? dueAt, IReadOnlyList<PresentationCitationId> sources)

Parameters

text PresentationText

What was undertaken.

owedBy ThreadParticipant

Who undertook it, or null where the correspondence does not say.

dueAt DateTimeOffset?

When it was said to be due, or null where nothing says.

sources IReadOnlyList<PresentationCitationId>

The citations this commitment rests on.

Exceptions

ArgumentNullException

Thrown when sources is null.

ArgumentException

Thrown when the text is the unspecified default, or a citation is unspecified or named twice.