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 117Id = step.Id, 161if (!_steps.TryGetValue(step.Id, out var parentStep)) 182StepId = step.Id,
Aspire.Hosting.Tests (16)
Publishing\PipelineActivityReporterTests.cs (15)
33Assert.NotNull(stepInternal.Id); 34Assert.NotEmpty(stepInternal.Id); 43Assert.Equal(stepInternal.Id, activity.Data.Id); 73Assert.Equal(stepInternal.Id, taskInternal.StepId); 84Assert.Equal(stepInternal.Id, activity.Data.StepId); 119Assert.Contains($"Cannot create task for step '{stepInternal.Id}' because the step is already complete.", exception.Message); 147Assert.Equal(stepInternal.Id, activity.Data.Id); 182Assert.Equal(stepInternal.Id, activity.Data.StepId); 254Assert.Equal(stepInternal.Id, activity.Data.StepId); 508Assert.Contains($"Cannot create task for step '{stepInternal.Id}' because the step is already complete.", createException.Message); 672Assert.Equal(stepInternal.Id, activity.Data.Id); 706Assert.Equal(stepInternal.Id, activity.Data.Id); 764Assert.Equal(stepInternal.Id, activity.Data.StepId); 799Assert.Equal(stepInternal.Id, activity.Data.StepId); 919Assert.Equal(stepInternal.Id, activity.Data.StepId);
Publishing\PublishingExtensionsTests.cs (1)
29Assert.Equal(stepInternal.Id, taskInternal.StepId);