ProgressContext Class

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

Properties

bool IsFinished
Gets a value indicating whether or not all started tasks have completed.

Methods

ProgressTask AddTask(string, bool, double)
Adds a task.
ProgressTask AddTask(string, ProgressTaskSettings)
Adds a task.
ProgressTask AddTaskAfter(string, ProgressTask, bool, double)
Adds a task after the reference task.
ProgressTask AddTaskAfter(string, ProgressTaskSettings, ProgressTask)
Adds a task after the reference task.
ProgressTask AddTaskAt(string, int, bool, double)
Adds a task.
ProgressTask AddTaskAt(string, ProgressTaskSettings, int)
Adds a task at the specified index.
ProgressTask AddTaskBefore(string, ProgressTask, bool, double)
Adds a task before the reference task.
ProgressTask AddTaskBefore(string, ProgressTaskSettings, ProgressTask)
Adds a task before the reference task.
void Refresh()
Refreshes the current progress.