AddTaskBefore(string, ProgressTaskSettings, ProgressTask) Method

Adds a task before the reference task.
public ProgressTask AddTaskBefore(string description, ProgressTaskSettings settings, ProgressTask referenceProgressTask)
Namespace
Spectre.Console
Containing Type
ProgressContext

Parameters

string description
The task description.
ProgressTaskSettings settings
The task settings.
ProgressTask referenceProgressTask
The reference task to add before.

Returns