1 write to StepId
Aspire.Hosting (1)
Publishing\PublishingTask.cs (1)
19
StepId
= stepId;
10 references to StepId
Aspire.Hosting (8)
Publishing\PublishingActivityReporter.cs (8)
124
if (!_steps.TryGetValue(task.
StepId
, out var parentStep))
126
throw new InvalidOperationException($"Parent step with ID '{task.
StepId
}' does not exist.");
133
throw new InvalidOperationException($"Cannot update task '{task.Id}' because its parent step '{task.
StepId
}' is already complete.");
147
StepId = task.
StepId
156
if (!_steps.TryGetValue(task.
StepId
, out var parentStep))
158
throw new InvalidOperationException($"Parent step with ID '{task.
StepId
}' does not exist.");
170
throw new InvalidOperationException($"Cannot complete task '{task.Id}' because its parent step '{task.
StepId
}' is already complete.");
185
StepId = task.
StepId
,
Aspire.Hosting.Tests (2)
Publishing\PublishingActivityReporterTests.cs (1)
72
Assert.Equal(stepInternal.Id, taskInternal.
StepId
);
Publishing\PublishingExtensionsTests.cs (1)
28
Assert.Equal(stepInternal.Id, taskInternal.
StepId
);