2 instantiations of ReportingStep
Aspire.Hosting (1)
Pipelines\PipelineActivityReporter.cs (1)
43var step = new ReportingStep(this, Guid.NewGuid().ToString(), title);
Aspire.Hosting.Tests (1)
Publishing\PipelineActivityReporterTests.cs (1)
96var nonExistentStep = new ReportingStep(reporter, "non-existent-step", "Non-existent Step");
59 references to ReportingStep
Aspire.Hosting (12)
Pipelines\PipelineActivityReporter.cs (10)
19private readonly ConcurrentDictionary<string, ReportingStep> _steps = new(); 43var step = new ReportingStep(this, Guid.NewGuid().ToString(), title); 62public async Task<ReportingTask> CreateTaskAsync(ReportingStep step, string statusText, bool enableMarkdown, CancellationToken cancellationToken) 64if (!_steps.TryGetValue(step.Id, out var parentStep)) 99public async Task CompleteStepAsync(ReportingStep step, string completionText, CompletionState completionState, bool enableMarkdown, CancellationToken cancellationToken) 131if (!_steps.TryGetValue(task.StepId, out var parentStep)) 162internal void Log(ReportingStep step, LogLevel logLevel, string message, bool enableMarkdown) 164if (!_steps.TryGetValue(step.Id, out var parentStep)) 197if (!_steps.TryGetValue(task.StepId, out var parentStep)) 288foreach (var step in _steps.Values)
Pipelines\ReportingTask.cs (2)
16internal ReportingTask(string id, string stepId, string statusText, ReportingStep parentStep) 37public ReportingStep ParentStep { get; }
Aspire.Hosting.Tests (47)
Publishing\PipelineActivityReporterTests.cs (43)
33var stepInternal = Assert.IsType<ReportingStep>(step); 61var stepInternal = Assert.IsType<ReportingStep>(step); 96var nonExistentStep = new ReportingStep(reporter, "non-existent-step", "Non-existent Step"); 119var stepInternal = Assert.IsType<ReportingStep>(step); 140var stepInternal = Assert.IsType<ReportingStep>(step); 174var stepInternal = Assert.IsType<ReportingStep>(step); 198var dummyStepInternal = Assert.IsType<ReportingStep>(dummyStep); 246var stepInternal = Assert.IsType<ReportingStep>(step); 449var stepInternal = Assert.IsType<ReportingStep>(step); 474var stepInternal = Assert.IsType<ReportingStep>(step); 508var stepInternal = Assert.IsType<ReportingStep>(step); 645var stepInternal = Assert.IsType<ReportingStep>(step); 666var stepInternal = Assert.IsType<ReportingStep>(step); 700var stepInternal = Assert.IsType<ReportingStep>(step); 732var stepInternal = Assert.IsType<ReportingStep>(step); 756var stepInternal = Assert.IsType<ReportingStep>(step); 791var stepInternal = Assert.IsType<ReportingStep>(step); 913var stepInternal = Assert.IsType<ReportingStep>(step); 957var stepInternal = Assert.IsType<ReportingStep>(step); 1177var stepInternal = Assert.IsType<ReportingStep>(step); 1201var stepInternal = Assert.IsType<ReportingStep>(step); 1262var stepInternal = Assert.IsType<ReportingStep>(step);
Publishing\PublishingExtensionsTests.cs (4)
28await using var stepInternal = Assert.IsType<ReportingStep>(step); 48await using var stepInternal = Assert.IsType<ReportingStep>(step);