StatusContext Class

Represents a context that can be used to interact with a Status.
public sealed class StatusContext
Namespace
Spectre.Console

Properties

Spinner Spinner
Gets or sets the current spinner.
Style SpinnerStyle
Gets or sets the current spinner style.
string Status
Gets or sets the current status.

Methods

void Refresh()
Refreshes the status.

Extension Methods

StatusContext Spinner(Spinner)
Sets the spinner.
StatusContext SpinnerStyle(Style)
Sets the spinner style.
StatusContext Status(string)
Sets the status message.