Class ContractMatrix

Namespace
Kuestenlogik.Bowire.Contracts
Assembly
Kuestenlogik.Bowire.Contracts.dll

The assembled consumer × provider matrix: the two axes plus the cell for every pair. Cells is dense — one entry per (consumer, provider) combination, in row-major order — so a renderer can lay out the grid without probing for gaps.

public sealed class ContractMatrix
Inheritance
ContractMatrix
Inherited Members

Constructors

ContractMatrix()

public ContractMatrix()

Properties

Cells

Every cell, row-major (consumer-major) over the axes.

public required IReadOnlyList<ContractMatrixCell> Cells { get; init; }

Property Value

IReadOnlyList<ContractMatrixCell>

Consumers

Row labels (consumers), sorted.

public required IReadOnlyList<string> Consumers { get; init; }

Property Value

IReadOnlyList<string>

FailedCells

Cells whose status is Fail.

public int FailedCells { get; init; }

Property Value

int

PassedCells

Cells whose status is Pass.

public int PassedCells { get; init; }

Property Value

int

Providers

Column labels (providers), sorted.

public required IReadOnlyList<string> Providers { get; init; }

Property Value

IReadOnlyList<string>