Class ThreadStateBlock
- Namespace
- MailFathom.Application.Discovery.Presentation.Blocks
- Assembly
- MailFathom.Application.dll
Where a conversation stands: what was agreed, what is still open, and who owes what.
public sealed record ThreadStateBlock : PresentationBlock, IEquatable<PresentationBlock>, IEquatable<ThreadStateBlock>
- Inheritance
-
ThreadStateBlock
- Implements
- Inherited Members
Remarks
The block for "where did we leave this". Three lists rather than one, because the three read differently and a reader scanning for what they still owe should not have to find it among what was settled.
Any of the three may legitimately be empty — a thread that agreed nothing yet is an ordinary thread — so the block requires participants and nothing else. What it refuses is all three being empty at once, which is a block that presents a heading over nothing.
Constructors
- ThreadStateBlock(PresentationEvidence, IReadOnlyList<ThreadParticipant>, IReadOnlyList<ThreadStatement>, IReadOnlyList<ThreadStatement>, IReadOnlyList<ThreadCommitment>)
Initializes where a conversation stands.
Fields
- MaxParticipants
The greatest number of participants one block may name.
- MaxStatements
The greatest number of statements one of the three lists may hold.
Properties
- Agreements
Gets what the conversation settled.
- Commitments
Gets what somebody undertook to do.
- OpenQuestions
Gets what it has not settled.
- Participants
Gets who is taking part.
- ReferencedCitations
Gets every citation this block names, including the ones its own entries name.