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");
45 references to ReportingStep
Aspire.Hosting (10)
Pipelines\PipelineActivityReporter.cs (8)
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)) 161if (!_steps.TryGetValue(task.StepId, out var parentStep)) 235foreach (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 (35)
Publishing\PipelineActivityReporterTests.cs (31)
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); 413var stepInternal = Assert.IsType<ReportingStep>(step); 447var stepInternal = Assert.IsType<ReportingStep>(step); 584var stepInternal = Assert.IsType<ReportingStep>(step); 605var stepInternal = Assert.IsType<ReportingStep>(step); 639var stepInternal = Assert.IsType<ReportingStep>(step); 671var stepInternal = Assert.IsType<ReportingStep>(step); 695var stepInternal = Assert.IsType<ReportingStep>(step); 730var 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);