API Reference
Class
SummaryBarFluent
The fluent methods of SummaryBar, generated from its public properties: With... sets a property and Add... adds to a collection, both returning the same instance.
Inheritance
- Object
- SummaryBarFluent
Methods
public static SummaryBar WithBarWidth(SummaryBar summaryBar, Int32 value) #Returns:
SummaryBarSets SummaryBar.BarWidth: The bar width in cells (default 20; narrow regions shrink it).
Parameters
- summaryBar ConsoleMonster.Widgets.SummaryBar
- The instance.
- value System.Int32
- The value.
Returns
The same instance.
public static SummaryBar WithDoneLabel(SummaryBar summaryBar, String? value) #Returns:
SummaryBarSets SummaryBar.DoneLabel: The label for the count done while the total is unknown, with {0} for the count, or null (default) for "{0} done".
Parameters
- summaryBar ConsoleMonster.Widgets.SummaryBar
- The instance.
- value System.String?
- The value.
Returns
The same instance.
public static SummaryBar WithElapsed(SummaryBar summaryBar, TimeSpan? value) #Returns:
SummaryBarSets SummaryBar.Elapsed: The elapsed time to estimate from, or null (default) for the time since the first progress.
Parameters
- summaryBar ConsoleMonster.Widgets.SummaryBar
- The instance.
- value System.TimeSpan?
- The value.
Returns
The same instance.
public static SummaryBar WithShowDuration(SummaryBar summaryBar, Boolean value = true) #Returns:
SummaryBarSets SummaryBar.ShowDuration: Whether a finished run shows how long it took ("in 12s") after the counters (default true; needs SummaryBar.Elapsed).
Parameters
- summaryBar ConsoleMonster.Widgets.SummaryBar
- The instance.
- value System.Boolean = true
- The value (default true).
Returns
The same instance.
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?