3 implementations of IReportingStep
Aspire.Hosting (2)
Pipelines\NullPipelineActivityReporter.cs (1)
30
internal sealed class NullPublishingStep :
IReportingStep
Pipelines\ReportingStep.cs (1)
15
internal sealed class ReportingStep :
IReportingStep
Aspire.Hosting.Azure.Tests (1)
AzureDeployerTests.cs (1)
1205
private sealed class TestReportingStep :
IReportingStep
58 references to IReportingStep
Aspire.Hosting (20)
Pipelines\DistributedApplicationPipeline.cs (1)
237
var
publishingStep = await activityReporter.CreateStepAsync(step.Name, context.CancellationToken).ConfigureAwait(false);
Pipelines\IPipelineActivityReporter.cs (1)
20
Task<
IReportingStep
> CreateStepAsync(string title, CancellationToken cancellationToken = default);
Pipelines\NullPipelineActivityReporter.cs (2)
17
public Task<
IReportingStep
> CreateStepAsync(string title, CancellationToken cancellationToken = default)
19
return Task.FromResult<
IReportingStep
>(new NullPublishingStep());
Pipelines\PipelineActivityReporter.cs (1)
41
public async Task<
IReportingStep
> CreateStepAsync(string title, CancellationToken cancellationToken = default)
Pipelines\PipelineStepContext.cs (2)
29
/// The <see cref="
IReportingStep
"/> instance that can be used to create tasks and manage the publishing process for this step.
31
public required
IReportingStep
ReportingStep { get; init; }
Publishing\Publisher.cs (1)
71
var
step = await progressReporter.CreateStepAsync(
Publishing\PublishingExtensions.cs (7)
11
/// Extension methods for <see cref="
IReportingStep
"/> and <see cref="IReportingTask"/> to provide direct operations.
23
public static async Task<
IReportingStep
> SucceedAsync(
24
this
IReportingStep
step,
40
public static async Task<
IReportingStep
> WarnAsync(
41
this
IReportingStep
step,
57
public static async Task<
IReportingStep
> FailAsync(
58
this
IReportingStep
step,
Publishing\ResourceContainerImageBuilder.cs (5)
148
var
step = await activityReporter.CreateStepAsync(
198
private async Task BuildImageAsync(
IReportingStep
? step, IResource resource, ContainerBuildOptions? options, CancellationToken cancellationToken)
242
private async Task BuildProjectContainerImageAsync(IResource resource,
IReportingStep
? step, ContainerBuildOptions? options, CancellationToken cancellationToken)
349
private async Task BuildContainerImageFromDockerfileAsync(IResource resource, DockerfileBuildAnnotation dockerfileBuildAnnotation, string imageName,
IReportingStep
? step, ContainerBuildOptions? options, CancellationToken cancellationToken)
463
IReportingStep
? step,
Aspire.Hosting.Azure (4)
AzurePublishingContext.cs (2)
91
var
step = await ActivityReporter.CreateStepAsync(
121
private async Task WriteAzureArtifactsOutputAsync(
IReportingStep
step, DistributedApplicationModel model, AzureEnvironmentResource environment, CancellationToken cancellationToken)
Provisioning\Internal\PublishModeProvisioningContextProvider.cs (2)
105
var
step = await activityReporter.CreateStepAsync(
204
var
step = await activityReporter.CreateStepAsync(
Aspire.Hosting.Azure.Tests (2)
AzureDeployerTests.cs (2)
1199
public Task<
IReportingStep
> CreateStepAsync(string title, CancellationToken cancellationToken = default)
1202
return Task.FromResult<
IReportingStep
>(new TestReportingStep(this, title));
Aspire.Hosting.Docker (1)
DockerComposePublishingContext.cs (1)
151
var
step = await activityReporter.CreateStepAsync(
Aspire.Hosting.Tests (31)
Publishing\PipelineActivityReporterTests.cs (24)
28
var
step = await reporter.CreateStepAsync(title, CancellationToken.None);
59
var
step = await reporter.CreateStepAsync("Parent Step", CancellationToken.None);
111
var
step = await reporter.CreateStepAsync("Test Step", CancellationToken.None);
130
var
step = await reporter.CreateStepAsync("Test Step", CancellationToken.None);
161
var
step = await reporter.CreateStepAsync("Test Step", CancellationToken.None);
192
var
step = await reporter.CreateStepAsync("Test Step", CancellationToken.None);
196
var
dummyStep = await reporter.CreateStepAsync("Dummy Step", CancellationToken.None);
214
var
step = await reporter.CreateStepAsync("Test Step", CancellationToken.None);
233
var
step = await reporter.CreateStepAsync("Test Step", CancellationToken.None);
268
var
step = await reporter.CreateStepAsync("Test Step", CancellationToken.None);
330
var
step1 = await reporter.CreateStepAsync("Step 1", CancellationToken.None);
331
var
step2 = await reporter.CreateStepAsync("Step 2", CancellationToken.None);
332
var
step3 = await reporter.CreateStepAsync("Step 3", CancellationToken.None);
367
var
step = await reporter.CreateStepAsync("Test Step", CancellationToken.None);
384
var
step = await reporter.CreateStepAsync("Test Step", CancellationToken.None);
404
var
step = await reporter.CreateStepAsync("Test Step", CancellationToken.None);
423
var
step = await reporter.CreateStepAsync("Test Step", CancellationToken.None);
455
await using
var
step = await reporter.CreateStepAsync("Test Step", CancellationToken.None);
581
var
step = await reporter.CreateStepAsync("Test Step", CancellationToken.None);
596
var
step = await reporter.CreateStepAsync("Test Step", CancellationToken.None);
624
var
step = await reporter.CreateStepAsync("Test Step", CancellationToken.None);
658
var
step = await reporter.CreateStepAsync("Test Step", CancellationToken.None);
683
var
step = await reporter.CreateStepAsync("Test Step", CancellationToken.None);
718
var
step = await reporter.CreateStepAsync("Test Step", CancellationToken.None);
Publishing\PublishingExtensionsTests.cs (7)
20
await using
var
step = await reporter.CreateStepAsync("Test Step", CancellationToken.None);
39
await using
var
step = await reporter.CreateStepAsync("Test Step", CancellationToken.None);
42
var
result = await step.SucceedAsync("Success message", CancellationToken.None);
57
await using
var
step = await reporter.CreateStepAsync("Test Step", CancellationToken.None);
76
await using
var
step = await reporter.CreateStepAsync("Test Step", CancellationToken.None);
94
await using
var
step = await reporter.CreateStepAsync("Test Step", CancellationToken.None);
112
await using
var
step = await reporter.CreateStepAsync("Test Step", CancellationToken.None);