1 write to Id
Aspire.Hosting (1)
Pipelines\ReportingStep.cs (1)
23Id = id;
26 references to Id
Aspire.Hosting (10)
Pipelines\PipelineActivityReporter.cs (10)
44_steps.TryAdd(step.Id, step); 51Id = step.Id, 64if (!_steps.TryGetValue(step.Id, out var parentStep)) 66throw new InvalidOperationException($"Step with ID '{step.Id}' does not exist."); 73throw new InvalidOperationException($"Cannot create task for step '{step.Id}' because the step is already complete."); 77var task = new ReportingTask(Guid.NewGuid().ToString(), step.Id, statusText, parentStep); 90StepId = step.Id, 118Id = step.Id, 164if (!_steps.TryGetValue(step.Id, out var parentStep)) 185StepId = step.Id,
Aspire.Hosting.Tests (16)
Publishing\PipelineActivityReporterTests.cs (15)
34Assert.NotNull(stepInternal.Id); 35Assert.NotEmpty(stepInternal.Id); 44Assert.Equal(stepInternal.Id, activity.Data.Id); 74Assert.Equal(stepInternal.Id, taskInternal.StepId); 85Assert.Equal(stepInternal.Id, activity.Data.StepId); 120Assert.Contains($"Cannot create task for step '{stepInternal.Id}' because the step is already complete.", exception.Message); 148Assert.Equal(stepInternal.Id, activity.Data.Id); 183Assert.Equal(stepInternal.Id, activity.Data.StepId); 255Assert.Equal(stepInternal.Id, activity.Data.StepId); 509Assert.Contains($"Cannot create task for step '{stepInternal.Id}' because the step is already complete.", createException.Message); 673Assert.Equal(stepInternal.Id, activity.Data.Id); 707Assert.Equal(stepInternal.Id, activity.Data.Id); 765Assert.Equal(stepInternal.Id, activity.Data.StepId); 800Assert.Equal(stepInternal.Id, activity.Data.StepId); 971Assert.Equal(stepInternal.Id, activity.Data.StepId);
Publishing\PublishingExtensionsTests.cs (1)
30Assert.Equal(stepInternal.Id, taskInternal.StepId);