Constructor ThreadStateBlock
- Namespace
- MailFathom.Application.Discovery.Presentation.Blocks
- Assembly
- MailFathom.Application.dll
ThreadStateBlock(PresentationEvidence, IReadOnlyList<ThreadParticipant>, IReadOnlyList<ThreadStatement>, IReadOnlyList<ThreadStatement>, IReadOnlyList<ThreadCommitment>)
Initializes where a conversation stands.
public ThreadStateBlock(PresentationEvidence evidence, IReadOnlyList<ThreadParticipant> participants, IReadOnlyList<ThreadStatement> agreements, IReadOnlyList<ThreadStatement> openQuestions, IReadOnlyList<ThreadCommitment> commitments)
Parameters
evidencePresentationEvidenceWhat the correspondence does for the block as a whole.
participantsIReadOnlyList<ThreadParticipant>Who is taking part.
agreementsIReadOnlyList<ThreadStatement>What the conversation settled.
openQuestionsIReadOnlyList<ThreadStatement>What it has not settled.
commitmentsIReadOnlyList<ThreadCommitment>What somebody undertook to do.
Exceptions
- ArgumentNullException
Thrown when
evidenceor any of the four lists is null.- ArgumentException
Thrown when no participant is named, a list is oversized, or all three statement lists are empty.