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)
95var 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, CancellationToken cancellationToken) 64if (!_steps.TryGetValue(step.Id, out var parentStep)) 98public async Task CompleteStepAsync(ReportingStep step, string completionText, CompletionState completionState, CancellationToken cancellationToken) 129if (!_steps.TryGetValue(task.StepId, out var parentStep)) 159internal void Log(ReportingStep step, LogLevel logLevel, string message, bool enableMarkdown) 161if (!_steps.TryGetValue(step.Id, out var parentStep)) 194if (!_steps.TryGetValue(task.StepId, out var parentStep)) 268foreach (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)
32var stepInternal = Assert.IsType<ReportingStep>(step); 60var stepInternal = Assert.IsType<ReportingStep>(step); 95var nonExistentStep = new ReportingStep(reporter, "non-existent-step", "Non-existent Step"); 118var stepInternal = Assert.IsType<ReportingStep>(step); 139var stepInternal = Assert.IsType<ReportingStep>(step); 173var stepInternal = Assert.IsType<ReportingStep>(step); 197var dummyStepInternal = Assert.IsType<ReportingStep>(dummyStep); 245var stepInternal = Assert.IsType<ReportingStep>(step); 448var stepInternal = Assert.IsType<ReportingStep>(step); 473var stepInternal = Assert.IsType<ReportingStep>(step); 507var stepInternal = Assert.IsType<ReportingStep>(step); 644var stepInternal = Assert.IsType<ReportingStep>(step); 665var stepInternal = Assert.IsType<ReportingStep>(step); 699var stepInternal = Assert.IsType<ReportingStep>(step); 731var stepInternal = Assert.IsType<ReportingStep>(step); 755var stepInternal = Assert.IsType<ReportingStep>(step); 790var stepInternal = Assert.IsType<ReportingStep>(step); 861var stepInternal = Assert.IsType<ReportingStep>(step); 905var stepInternal = Assert.IsType<ReportingStep>(step); 1046var stepInternal = Assert.IsType<ReportingStep>(step); 1070var stepInternal = Assert.IsType<ReportingStep>(step); 1131var stepInternal = Assert.IsType<ReportingStep>(step);
Publishing\PublishingExtensionsTests.cs (4)
27await using var stepInternal = Assert.IsType<ReportingStep>(step); 47await using var stepInternal = Assert.IsType<ReportingStep>(step);