1 write to Id
Aspire.Hosting (1)
Pipelines\ReportingStep.cs (1)
23
Id
= id;
28 references to Id
Aspire.Hosting (10)
Pipelines\PipelineActivityReporter.cs (10)
47
Id = step.
Id
,
69
_steps.TryAdd(step.
Id
, step);
70
_stepIdsByTitle[title] = step.
Id
;
84
if (!_steps.TryGetValue(step.
Id
, out var parentStep))
86
throw new InvalidOperationException($"Step with ID '{step.
Id
}' does not exist.");
93
throw new InvalidOperationException($"Cannot create task for step '{step.
Id
}' because the step is already complete.");
97
var task = new ReportingTask(Guid.NewGuid().ToString(), step.
Id
, statusText, parentStep);
110
StepId = step.
Id
,
177
if (!_steps.TryGetValue(step.
Id
, out var parentStep))
198
StepId = step.
Id
,
Aspire.Hosting.Tests (18)
Publishing\PipelineActivityReporterTests.cs (17)
36
Assert.NotNull(stepInternal.
Id
);
37
Assert.NotEmpty(stepInternal.
Id
);
46
Assert.Equal(stepInternal.
Id
, activity.Data.Id);
94
Assert.Equal(parentStep.
Id
, childStep.ParentStepId);
98
Assert.Equal(parentStep.
Id
, createActivity.Data.ParentStepId);
124
Assert.Equal(stepInternal.
Id
, taskInternal.StepId);
135
Assert.Equal(stepInternal.
Id
, activity.Data.StepId);
170
Assert.Contains($"Cannot create task for step '{stepInternal.
Id
}' because the step is already complete.", exception.Message);
198
Assert.Equal(stepInternal.
Id
, activity.Data.Id);
233
Assert.Equal(stepInternal.
Id
, activity.Data.StepId);
305
Assert.Equal(stepInternal.
Id
, activity.Data.StepId);
559
Assert.Contains($"Cannot create task for step '{stepInternal.
Id
}' because the step is already complete.", createException.Message);
787
Assert.Equal(stepInternal.
Id
, activity.Data.Id);
821
Assert.Equal(stepInternal.
Id
, activity.Data.Id);
879
Assert.Equal(stepInternal.
Id
, activity.Data.StepId);
914
Assert.Equal(stepInternal.
Id
, activity.Data.StepId);
1085
Assert.Equal(stepInternal.
Id
, activity.Data.StepId);
Publishing\PublishingExtensionsTests.cs (1)
32
Assert.Equal(stepInternal.
Id
, taskInternal.StepId);