SpinnerColumn Class
A column showing a spinner.
public sealed class SpinnerColumn : ProgressColumn
- Namespace
- Spectre
.Console - Base Types
Constructors
-
SpinnerColumn
() -
Initializes a new instance of the
SpinnerColumn
class. -
SpinnerColumn
(Spinner) -
Initializes a new instance of the
SpinnerColumn
class.
Properties
- Style CompletedStyle
- Gets or sets the completed style.
- string CompletedText
- Gets or sets the text that should be shown instead of the spinner once a task completes.
- Style PendingStyle
- Gets or sets the pending style.
- string PendingText
- Gets or sets the text that should be shown instead of the spinner before a task begins.
- Style Style
- Gets or sets the style of the spinner.
Methods
-
override int? GetColumnWidth
(RenderOptions) - Gets the width of the column.
-
override IRenderable Render
(RenderOptions, ProgressTask, TimeSpan) - Gets a renderable representing the column.
Extension Methods
-
T And
< Spinner Column> (Action < Spinner Column> ) - Performs the specified action on the given object and then returns the object. Useful for fluent testing patterns where additional assertions or operations are chained together in a readable manner.
-
SpinnerColumn CompletedStyle
(Style) - Sets the completed style of the spinner.
-
SpinnerColumn CompletedText
(string) - Sets the text that should be shown instead of the spinner once a task completes.
-
SpinnerColumn Style
(Style) - Sets the style of the spinner.