2 instantiations of PublishingStep
Aspire.Hosting (1)
Publishing\PublishingActivityReporter.cs (1)
38var step = new PublishingStep(this, Guid.NewGuid().ToString(), title);
Aspire.Hosting.Tests (1)
Publishing\PublishingActivityReporterTests.cs (1)
94var nonExistentStep = new PublishingStep(reporter, "non-existent-step", "Non-existent Step");
45 references to PublishingStep
Aspire.Hosting (10)
Publishing\PublishingActivityReporter.cs (8)
16private readonly ConcurrentDictionary<string, PublishingStep> _steps = new(); 38var step = new PublishingStep(this, Guid.NewGuid().ToString(), title); 57public async Task<PublishingTask> CreateTaskAsync(PublishingStep step, string statusText, CancellationToken cancellationToken) 59if (!_steps.TryGetValue(step.Id, out var parentStep)) 93public async Task CompleteStepAsync(PublishingStep step, string completionText, CompletionState completionState, CancellationToken cancellationToken) 124if (!_steps.TryGetValue(task.StepId, out var parentStep)) 156if (!_steps.TryGetValue(task.StepId, out var parentStep)) 230foreach (var step in _steps.Values)
Publishing\PublishingTask.cs (2)
16internal PublishingTask(string id, string stepId, string statusText, PublishingStep parentStep) 37public PublishingStep ParentStep { get; }
Aspire.Hosting.Tests (35)
Publishing\PublishingActivityReporterTests.cs (31)
31var stepInternal = Assert.IsType<PublishingStep>(step); 59var stepInternal = Assert.IsType<PublishingStep>(step); 94var nonExistentStep = new PublishingStep(reporter, "non-existent-step", "Non-existent Step"); 117var stepInternal = Assert.IsType<PublishingStep>(step); 138var stepInternal = Assert.IsType<PublishingStep>(step); 172var stepInternal = Assert.IsType<PublishingStep>(step); 196var dummyStepInternal = Assert.IsType<PublishingStep>(dummyStep); 244var stepInternal = Assert.IsType<PublishingStep>(step); 412var stepInternal = Assert.IsType<PublishingStep>(step); 446var stepInternal = Assert.IsType<PublishingStep>(step); 543var stepInternal = Assert.IsType<PublishingStep>(step); 564var stepInternal = Assert.IsType<PublishingStep>(step); 598var stepInternal = Assert.IsType<PublishingStep>(step); 630var stepInternal = Assert.IsType<PublishingStep>(step); 654var stepInternal = Assert.IsType<PublishingStep>(step); 689var stepInternal = Assert.IsType<PublishingStep>(step);
Publishing\PublishingExtensionsTests.cs (4)
26await using var stepInternal = Assert.IsType<PublishingStep>(step); 46await using var stepInternal = Assert.IsType<PublishingStep>(step);