Class FactTableBlock
- Namespace
- MailFathom.Application.Discovery.Presentation.Blocks
- Assembly
- MailFathom.Application.dll
Values compared across a known set of columns, where the comparison is the answer.
public sealed record FactTableBlock : PresentationBlock, IEquatable<PresentationBlock>, IEquatable<FactTableBlock>
- Inheritance
-
FactTableBlock
- Implements
- Inherited Members
Remarks
The block for "what did each of them quote", "how do the two versions differ". Its columns come from a closed catalogue, so the client draws headings in the reader's own language and a producer cannot invent a column nobody can label.
Every row holds one cell per column, in the columns' order, which the constructor refuses to let drift. A table whose rows disagreed with its header is a rendering nobody can draw and a comparison nobody can trust, and it is the one structural mistake this block can make.
Constructors
- FactTableBlock(PresentationEvidence, IReadOnlyList<FactTableColumn>, IReadOnlyList<FactTableRow>)
Initializes a comparison across a known set of columns.
Fields
- MaxColumns
The greatest number of columns one table may compare across.
- MaxRows
The greatest number of rows one table may hold.
Properties
- Columns
Gets the columns compared across, in the order they are drawn.
- ReferencedCitations
Gets every citation this block names, including the ones its own entries name.
- Rows
Gets the rows, in the order the answer is read in.