SpinnerFluent
ConsoleMonster.Widgets
The fluent methods of Spinner, 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
- SpinnerFluent
Methods
public static Spinner Detail(Spinner spinner, string? value) #Sets Spinner.Detail: Muted detail shown after the label, for example the current item.
Parameters
- spinner ConsoleMonster.Widgets.Spinner
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Widgets.Spinner { Detail = value }; Ui.Spinner().Detail(value);public static Spinner Finished(Spinner spinner, TimeSpan? value) #Sets Spinner.Finished: When the spinner finished on the session clock, or null while running.
Parameters
- spinner ConsoleMonster.Widgets.Spinner
- The instance.
- value System.TimeSpan?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Widgets.Spinner { Finished = value }; Ui.Spinner().Finished(value);public static Spinner Label(Spinner spinner, string value) #Sets Spinner.Label: The label (markup).
Parameters
- spinner ConsoleMonster.Widgets.Spinner
- The instance.
- value string
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Widgets.Spinner { Label = value }; Ui.Spinner().Label(value);public static Spinner ShowElapsed(Spinner spinner, bool value = true) #Sets Spinner.ShowElapsed: Whether the elapsed time is shown on the right (default true).
Parameters
- spinner ConsoleMonster.Widgets.Spinner
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Widgets.Spinner { ShowElapsed = value }; Ui.Spinner().ShowElapsed(value);public static Spinner Started(Spinner spinner, TimeSpan? value) #Sets Spinner.Started: When the current run started on the session clock, or null for "when the session started". Set by the start operation and by the first running state event.
Parameters
- spinner ConsoleMonster.Widgets.Spinner
- The instance.
- value System.TimeSpan?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Widgets.Spinner { Started = value }; Ui.Spinner().Started(value);public static Spinner Status(Spinner spinner, StatusKind value) #Sets Spinner.Status: The status; anything other than Running or Pending replaces the animation with the status marker.
Parameters
- spinner ConsoleMonster.Widgets.Spinner
- The instance.
- value ConsoleMonster.Styling.StatusKind
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Widgets.Spinner { Status = value }; Ui.Spinner().Status(value);