Table of Contents

Class TableReportData

Namespace
Invex.Atom.Build.Reports
Assembly
Invex.Atom.Build.dll

Represents structured tabular data for a build report.

public sealed record TableReportData : ICustomReportData, IReportData
Inheritance
object
TableReportData
Implements

Remarks

Ideal for presenting structured information like test summaries or code coverage statistics.

Constructors

TableReportData(IReadOnlyList<IReadOnlyList<string>>)

Represents structured tabular data for a build report.

public TableReportData(IReadOnlyList<IReadOnlyList<string>> Rows)

Parameters

Rows IReadOnlyList<IReadOnlyList<string>>

The data rows, where each row is a collection of cell values.

Remarks

Ideal for presenting structured information like test summaries or code coverage statistics.

Properties

BeforeStandardData

Gets a value indicating whether this data should be rendered before standard report data (logs and artifacts).

public bool BeforeStandardData { get; init; }

Property Value

bool

ColumnAlignments

Gets the alignment for each column. Defaults to left alignment if not specified.

public IReadOnlyList<ColumnAlignment> ColumnAlignments { get; init; }

Property Value

IReadOnlyList<ColumnAlignment>

Header

Gets the column headers for the table. If null, headers are hidden.

public IReadOnlyList<string>? Header { get; init; }

Property Value

IReadOnlyList<string>

Rows

The data rows, where each row is a collection of cell values.

public IReadOnlyList<IReadOnlyList<string>> Rows { get; init; }

Property Value

IReadOnlyList<IReadOnlyList<string>>

Title

Gets an optional title to display above the table.

public string? Title { get; init; }

Property Value

string