TaskStepInfo
Record in Oadm.Sdk.Plugins · Oadm.Sdk.dll
Immutable view of one step. TaskStepInfo.Index is the position in the task’s step list (0-based).
public sealed record TaskStepInfo(int Index, string Name, TaskStepState State, string? Detail, int Progress, DateTimeOffset? StartedUtc, DateTimeOffset? FinishedUtc)Parameters
Index: Position in the task’s step list, 0-based.Name: The step name (“Upload firmware”).State: Its state.Detail: The result, progress detail, skip reason or error.Progress: 0 to 100 while it runs.StartedUtc: When it started.FinishedUtc: When it ended.
Properties
Section titled “Properties”Detail
Section titled “Detail”string? Detail { get; init; }The result, progress detail, skip reason or error.
FinishedUtc
Section titled “FinishedUtc”DateTimeOffset? FinishedUtc { get; init; }When it ended.
int Index { get; init; }Position in the task’s step list, 0-based.
IsFinished
Section titled “IsFinished”bool IsFinished { get; }Ended: Done, Warning, Skipped or Failed.
string Name { get; init; }The step name (“Upload firmware”).
Progress
Section titled “Progress”int Progress { get; init; }0 to 100 while it runs.
StartedUtc
Section titled “StartedUtc”DateTimeOffset? StartedUtc { get; init; }When it started.
TaskStepState State { get; init; }Its state.