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