Class ListReportData
Represents an unordered list of items for a build report.
public sealed record ListReportData : ICustomReportData, IReportData
- Inheritance
-
objectListReportData
- Implements
Constructors
ListReportData(IReadOnlyList<string>)
Represents an unordered list of items for a build report.
public ListReportData(IReadOnlyList<string> Items)
Parameters
ItemsIReadOnlyList<string>The list items to display.
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
Items
The list items to display.
public IReadOnlyList<string> Items { get; init; }
Property Value
- IReadOnlyList<string>
Prefix
Gets the prefix to prepend to each list item. Defaults to "- ".
public string Prefix { get; init; }
Property Value
- string
Title
Gets an optional title to display above the list.
public string? Title { get; init; }
Property Value
- string