RunBoardFluent
ConsoleMonster.Widgets
The fluent methods of RunBoard, generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.
Inheritance
- object
- RunBoardFluent
Methods
public static RunBoard Dashboard(RunBoard runBoard, Action<RunDashboard> configure) #Configures RunBoard.Dashboard in place: The dashboard that draws the run on a terminal smaller than the board needs, sharing its tracker and log.
Parameters
- runBoard ConsoleMonster.Widgets.RunBoard
- The instance.
- configure System.Action<ConsoleMonster.Widgets.RunDashboard>
- Configures the value.
public static RunBoard HeaderChartBy(RunBoard runBoard, Func<RunSnapshot, IWidget>? value) #Sets RunBoard.HeaderChart: Builds the chart beside the wordmark from the frame's snapshot, or null (default) for a histogram of the durations of finished items. Its caption shows the throughput and the longest item either way.
Parameters
- runBoard ConsoleMonster.Widgets.RunBoard
- The instance.
- value System.Func<ConsoleMonster.Live.RunSnapshot, ConsoleMonster.Layout.IWidget>?
- The callback.
Examples
// C# initializer or property // C# fluent
runBoard.HeaderChart = value; runBoard.HeaderChartBy(value);public static RunBoard ItemsLabel(RunBoard runBoard, string value) #Sets RunBoard.ItemsLabel: The plural word for the run's items in captions and titles (default "items"), for example "checks" or "tests".
Parameters
- runBoard ConsoleMonster.Widgets.RunBoard
- The instance.
- value string
- The value.
Examples
// C# initializer or property // C# fluent
runBoard.ItemsLabel = value; runBoard.ItemsLabel(value);public static RunBoard Parts(RunBoard runBoard, RunBoardParts value) #Sets RunBoard.Parts: The board's own panels and charts that show (default all).
Parameters
- runBoard ConsoleMonster.Widgets.RunBoard
- The instance.
- value ConsoleMonster.Widgets.RunBoardParts
- The value.
Examples
// C# initializer or property // C# fluent
runBoard.Parts = value; runBoard.Parts(value);public static RunBoard Stages(RunBoard runBoard, IWidget? value) #Sets RunBoard.Stages: The stage track drawn under the header (usually Phases), or null for none. A live stage track set after the run has started joins the run's session in place of the previous track, so updates by its widget ids reach the track that is drawn.
Parameters
- runBoard ConsoleMonster.Widgets.RunBoard
- The instance.
- value ConsoleMonster.Layout.IWidget?
- The value.
Examples
// C# initializer or property // C# fluent
runBoard.Stages = value; runBoard.Stages(value);public static RunBoard Subtitle(RunBoard runBoard, string? value) #Sets RunBoard.Subtitle: A literal subtitle under the wordmark (the target, the configuration), or null.
Parameters
- runBoard ConsoleMonster.Widgets.RunBoard
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
runBoard.Subtitle = value; runBoard.Subtitle(value);public static RunBoard Title(RunBoard runBoard, string value) #Sets RunBoard.Title: The run name, shown as literal text when there is no RunBoard.Wordmark and in the compact header.
Parameters
- runBoard ConsoleMonster.Widgets.RunBoard
- The instance.
- value string
- The value.
Examples
// C# initializer or property // C# fluent
runBoard.Title = value; runBoard.Title(value);public static RunBoard Version(RunBoard runBoard, string? value) #Sets RunBoard.Version: The product version under the wordmark (literal, for example "v1.0.0"), or null.
Parameters
- runBoard ConsoleMonster.Widgets.RunBoard
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
runBoard.Version = value; runBoard.Version(value);public static RunBoard Wordmark(RunBoard runBoard, IWidget? value) #Sets RunBoard.Wordmark: The product's wordmark (a Logo or any widget up to five rows tall), or null for the title as text. A live widget set after the run has started joins the run's session in place of the previous wordmark.
Parameters
- runBoard ConsoleMonster.Widgets.RunBoard
- The instance.
- value ConsoleMonster.Layout.IWidget?
- The value.
Examples
// C# initializer or property // C# fluent
runBoard.Wordmark = value; runBoard.Wordmark(value);public static RunBoard Workers(RunBoard runBoard, int value) #Sets RunBoard.Workers: The most items that run at once (the worker count), or 0 (default) when unknown. When set, the running list reads "3 of 4 workers busy".
Parameters
- runBoard ConsoleMonster.Widgets.RunBoard
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
runBoard.Workers = value; runBoard.Workers(value);