AddTaskBefore(string, ProgressTask, bool, double) Method
Adds a task before the reference task.
public ProgressTask AddTaskBefore(string description, ProgressTask referenceProgressTask, bool autoStart = true, double maxValue = 100)
- Namespace
- Spectre
.Console - Containing Type
- ProgressContext
Parameters
- string description
- The task description.
- ProgressTask referenceProgressTask
- The reference task to add before.
- bool autoStart
- Whether or not the task should start immediately.
- double maxValue
- The task's max value.