ProgressTask(int, string, double, bool) Constructor
Initializes a new instance of the
ProgressTask
class.
public ProgressTask(int id, string description, double maxValue, bool autoStart = true)
- Namespace
- Spectre
.Console - Containing Type
- ProgressTask
Parameters
- int id
- The task ID.
- string description
- The task description.
- double maxValue
- The task max value.
- bool autoStart
- Whether or not the task should start automatically.