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)
96
var nonExistentStep = new
ReportingStep
(reporter, "non-existent-step", "Non-existent Step");
59 references to ReportingStep
Aspire.Hosting (12)
Pipelines\PipelineActivityReporter.cs (10)
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, bool enableMarkdown, CancellationToken cancellationToken)
64
if (!_steps.TryGetValue(step.Id, out
var
parentStep))
99
public async Task CompleteStepAsync(
ReportingStep
step, string completionText, CompletionState completionState, bool enableMarkdown, CancellationToken cancellationToken)
131
if (!_steps.TryGetValue(task.StepId, out
var
parentStep))
162
internal void Log(
ReportingStep
step, LogLevel logLevel, string message, bool enableMarkdown)
164
if (!_steps.TryGetValue(step.Id, out
var
parentStep))
197
if (!_steps.TryGetValue(task.StepId, out
var
parentStep))
288
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 (47)
Publishing\PipelineActivityReporterTests.cs (43)
33
var
stepInternal = Assert.IsType<
ReportingStep
>(step);
61
var
stepInternal = Assert.IsType<
ReportingStep
>(step);
96
var
nonExistentStep = new ReportingStep(reporter, "non-existent-step", "Non-existent Step");
119
var
stepInternal = Assert.IsType<
ReportingStep
>(step);
140
var
stepInternal = Assert.IsType<
ReportingStep
>(step);
174
var
stepInternal = Assert.IsType<
ReportingStep
>(step);
198
var
dummyStepInternal = Assert.IsType<
ReportingStep
>(dummyStep);
246
var
stepInternal = Assert.IsType<
ReportingStep
>(step);
449
var
stepInternal = Assert.IsType<
ReportingStep
>(step);
474
var
stepInternal = Assert.IsType<
ReportingStep
>(step);
508
var
stepInternal = Assert.IsType<
ReportingStep
>(step);
645
var
stepInternal = Assert.IsType<
ReportingStep
>(step);
666
var
stepInternal = Assert.IsType<
ReportingStep
>(step);
700
var
stepInternal = Assert.IsType<
ReportingStep
>(step);
732
var
stepInternal = Assert.IsType<
ReportingStep
>(step);
756
var
stepInternal = Assert.IsType<
ReportingStep
>(step);
791
var
stepInternal = Assert.IsType<
ReportingStep
>(step);
913
var
stepInternal = Assert.IsType<
ReportingStep
>(step);
957
var
stepInternal = Assert.IsType<
ReportingStep
>(step);
1177
var
stepInternal = Assert.IsType<
ReportingStep
>(step);
1201
var
stepInternal = Assert.IsType<
ReportingStep
>(step);
1262
var
stepInternal = Assert.IsType<
ReportingStep
>(step);
Publishing\PublishingExtensionsTests.cs (4)
28
await using
var
stepInternal = Assert.IsType<
ReportingStep
>(step);
48
await using
var
stepInternal = Assert.IsType<
ReportingStep
>(step);