RunDashboardFluent
ConsoleMonster.Widgets
The fluent methods of RunDashboard, generated from its public properties: With... sets a property and Add... adds to a collection, both returning the same instance.
Inheritance
- object
- RunDashboardFluent
Methods
public static RunDashboard WithLog(RunDashboard runDashboard, Action<LogRegion> configure) #Configures RunDashboard.Log in place: Captured output and completion events. Entries stream to scrollback while its retained history stays bounded.
Parameters
- runDashboard ConsoleMonster.Widgets.RunDashboard
- The instance.
- configure System.Action<ConsoleMonster.Widgets.LogRegion>
- Configures the value.
public static RunDashboard WithLogPaused(RunDashboard runDashboard, bool value = true) #Sets RunDashboard.LogPaused: Whether completion lines are temporarily held.
Parameters
- runDashboard ConsoleMonster.Widgets.RunDashboard
- The instance.
- value bool = true
- The value (default true).
public static RunDashboard WithProblemsOnly(RunDashboard runDashboard, bool value = true) #Sets RunDashboard.ProblemsOnly: Whether only problems are appended to the log.
Parameters
- runDashboard ConsoleMonster.Widgets.RunDashboard
- The instance.
- value bool = true
- The value (default true).
public static RunDashboard WithShowGroups(RunDashboard runDashboard, bool value = true) #Sets RunDashboard.ShowGroups: Whether group rows may use spare dashboard space.
Parameters
- runDashboard ConsoleMonster.Widgets.RunDashboard
- The instance.
- value bool = true
- The value (default true).
public static RunDashboard WithShowHelp(RunDashboard runDashboard, bool value = true) #Sets RunDashboard.ShowHelp: Whether the key help is expanded.
Parameters
- runDashboard ConsoleMonster.Widgets.RunDashboard
- The instance.
- value bool = true
- The value (default true).
public static RunDashboard WithShowKeys(RunDashboard runDashboard, bool value = true) #Sets RunDashboard.ShowKeys: Whether the key hints are visible.
Parameters
- runDashboard ConsoleMonster.Widgets.RunDashboard
- The instance.
- value bool = true
- The value (default true).
public static RunDashboard WithShowTrend(RunDashboard runDashboard, bool value = true) #Sets RunDashboard.ShowTrend: The optional throughput trend beside the rate.
Parameters
- runDashboard ConsoleMonster.Widgets.RunDashboard
- The instance.
- value bool = true
- The value (default true).
public static RunDashboard WithTitle(RunDashboard runDashboard, string value) #Sets RunDashboard.Title: The run name, shown as literal text.
Parameters
- runDashboard ConsoleMonster.Widgets.RunDashboard
- The instance.
- value string
- The value.