2 instantiations of ReportingStep
Aspire.Hosting (1)
Pipelines\PipelineActivityReporter.cs (1)
43
var step = new
ReportingStep
(this, Guid.NewGuid().ToString(), title);
Aspire.Hosting.Tests (1)
Publishing\PipelineActivityReporterTests.cs (1)
95
var nonExistentStep = new
ReportingStep
(reporter, "non-existent-step", "Non-existent Step");
45 references to ReportingStep
Aspire.Hosting (10)
Pipelines\PipelineActivityReporter.cs (8)
19
private readonly ConcurrentDictionary<string,
ReportingStep
> _steps = new();
43
var
step = new ReportingStep(this, Guid.NewGuid().ToString(), title);
62
public async Task<ReportingTask> CreateTaskAsync(
ReportingStep
step, string statusText, CancellationToken cancellationToken)
64
if (!_steps.TryGetValue(step.Id, out
var
parentStep))
98
public async Task CompleteStepAsync(
ReportingStep
step, string completionText, CompletionState completionState, CancellationToken cancellationToken)
129
if (!_steps.TryGetValue(task.StepId, out
var
parentStep))
161
if (!_steps.TryGetValue(task.StepId, out
var
parentStep))
235
foreach (
var
step in _steps.Values)
Pipelines\ReportingTask.cs (2)
16
internal ReportingTask(string id, string stepId, string statusText,
ReportingStep
parentStep)
37
public
ReportingStep
ParentStep { get; }
Aspire.Hosting.Tests (35)
Publishing\PipelineActivityReporterTests.cs (31)
32
var
stepInternal = Assert.IsType<
ReportingStep
>(step);
60
var
stepInternal = Assert.IsType<
ReportingStep
>(step);
95
var
nonExistentStep = new ReportingStep(reporter, "non-existent-step", "Non-existent Step");
118
var
stepInternal = Assert.IsType<
ReportingStep
>(step);
139
var
stepInternal = Assert.IsType<
ReportingStep
>(step);
173
var
stepInternal = Assert.IsType<
ReportingStep
>(step);
197
var
dummyStepInternal = Assert.IsType<
ReportingStep
>(dummyStep);
245
var
stepInternal = Assert.IsType<
ReportingStep
>(step);
413
var
stepInternal = Assert.IsType<
ReportingStep
>(step);
447
var
stepInternal = Assert.IsType<
ReportingStep
>(step);
584
var
stepInternal = Assert.IsType<
ReportingStep
>(step);
605
var
stepInternal = Assert.IsType<
ReportingStep
>(step);
639
var
stepInternal = Assert.IsType<
ReportingStep
>(step);
671
var
stepInternal = Assert.IsType<
ReportingStep
>(step);
695
var
stepInternal = Assert.IsType<
ReportingStep
>(step);
730
var
stepInternal = Assert.IsType<
ReportingStep
>(step);
Publishing\PublishingExtensionsTests.cs (4)
27
await using
var
stepInternal = Assert.IsType<
ReportingStep
>(step);
47
await using
var
stepInternal = Assert.IsType<
ReportingStep
>(step);