1 write to StepId
Aspire.Hosting (1)
Pipelines\ReportingTask.cs (1)
19
StepId
= stepId;
10 references to StepId
Aspire.Hosting (8)
Pipelines\PipelineActivityReporter.cs (8)
129
if (!_steps.TryGetValue(task.
StepId
, out var parentStep))
131
throw new InvalidOperationException($"Parent step with ID '{task.
StepId
}' does not exist.");
138
throw new InvalidOperationException($"Cannot update task '{task.Id}' because its parent step '{task.
StepId
}' is already complete.");
152
StepId = task.
StepId
161
if (!_steps.TryGetValue(task.
StepId
, out var parentStep))
163
throw new InvalidOperationException($"Parent step with ID '{task.
StepId
}' does not exist.");
175
throw new InvalidOperationException($"Cannot complete task '{task.Id}' because its parent step '{task.
StepId
}' is already complete.");
190
StepId = task.
StepId
,
Aspire.Hosting.Tests (2)
Publishing\PipelineActivityReporterTests.cs (1)
73
Assert.Equal(stepInternal.Id, taskInternal.
StepId
);
Publishing\PublishingExtensionsTests.cs (1)
29
Assert.Equal(stepInternal.Id, taskInternal.
StepId
);