Class TableReportData
Represents structured tabular data for a build report.
public sealed record TableReportData : ICustomReportData, IReportData
- Inheritance
-
objectTableReportData
- 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
RowsIReadOnlyList<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