ProgressExtensions Class
Contains extension methods for
Progress
.
public static class ProgressExtensions
- Namespace
- Spectre
.Console
Methods
-
static Progress AutoClear
(Progress, bool) - Sets whether or not auto clear is enabled. If enabled, the task tabled will be removed once all tasks have completed.
-
static Progress AutoRefresh
(Progress, bool) - Sets whether or not auto refresh is enabled. If disabled, you will manually have to refresh the progress.
-
static Progress Columns
(Progress, ProgressColumn[]) -
Sets the columns to be used for an
Progress
instance. -
static Progress HideCompleted
(Progress, bool) - Sets whether or not hide completed is enabled. If enabled, the task tabled will be removed once it is completed.
-
static Progress UseRenderHook
(Progress, Func <IRenderable, IReadOnlyList <ProgressTask> , IRenderable> ) - Sets an optional hook to intercept rendering.