1 implementation of IPublishingStep
Aspire.Hosting (1)
Publishing\PublishingStep.cs (1)
15
internal sealed class PublishingStep :
IPublishingStep
49 references to IPublishingStep
Aspire.Hosting (15)
Publishing\IPublishingActivityReporter.cs (1)
20
Task<
IPublishingStep
> CreateStepAsync(string title, CancellationToken cancellationToken = default);
Publishing\Publisher.cs (1)
31
var
step = await progressReporter.CreateStepAsync(
Publishing\PublishingActivityReporter.cs (1)
36
public async Task<
IPublishingStep
> CreateStepAsync(string title, CancellationToken cancellationToken = default)
Publishing\PublishingExtensions.cs (7)
11
/// Extension methods for <see cref="
IPublishingStep
"/> and <see cref="IPublishingTask"/> to provide direct operations.
23
public static async Task<
IPublishingStep
> SucceedAsync(
24
this
IPublishingStep
step,
40
public static async Task<
IPublishingStep
> WarnAsync(
41
this
IPublishingStep
step,
57
public static async Task<
IPublishingStep
> FailAsync(
58
this
IPublishingStep
step,
Publishing\ResourceContainerImageBuilder.cs (5)
131
var
step = await activityReporter.CreateStepAsync(
181
private async Task BuildImageAsync(
IPublishingStep
? step, IResource resource, ContainerBuildOptions? options, CancellationToken cancellationToken)
218
private async Task BuildProjectContainerImageAsync(IResource resource,
IPublishingStep
? step, ContainerBuildOptions? options, CancellationToken cancellationToken)
325
private async Task BuildContainerImageFromDockerfileAsync(string resourceName, string contextPath, string dockerfilePath, string imageName,
IPublishingStep
? step, ContainerBuildOptions? options, CancellationToken cancellationToken)
377
IPublishingStep
? step,
Aspire.Hosting.Azure (2)
AzurePublishingContext.cs (2)
79
var
step = await ActivityReporter.CreateStepAsync(
109
private async Task WriteAzureArtifactsOutputAsync(
IPublishingStep
step, DistributedApplicationModel model, AzureEnvironmentResource environment, CancellationToken cancellationToken)
Aspire.Hosting.Docker (1)
DockerComposePublishingContext.cs (1)
129
var
step = await activityReporter.CreateStepAsync(
Aspire.Hosting.Tests (31)
Publishing\PublishingActivityReporterTests.cs (24)
27
var
step = await reporter.CreateStepAsync(title, CancellationToken.None);
58
var
step = await reporter.CreateStepAsync("Parent Step", CancellationToken.None);
110
var
step = await reporter.CreateStepAsync("Test Step", CancellationToken.None);
129
var
step = await reporter.CreateStepAsync("Test Step", CancellationToken.None);
160
var
step = await reporter.CreateStepAsync("Test Step", CancellationToken.None);
191
var
step = await reporter.CreateStepAsync("Test Step", CancellationToken.None);
195
var
dummyStep = await reporter.CreateStepAsync("Dummy Step", CancellationToken.None);
213
var
step = await reporter.CreateStepAsync("Test Step", CancellationToken.None);
232
var
step = await reporter.CreateStepAsync("Test Step", CancellationToken.None);
267
var
step = await reporter.CreateStepAsync("Test Step", CancellationToken.None);
329
var
step1 = await reporter.CreateStepAsync("Step 1", CancellationToken.None);
330
var
step2 = await reporter.CreateStepAsync("Step 2", CancellationToken.None);
331
var
step3 = await reporter.CreateStepAsync("Step 3", CancellationToken.None);
366
var
step = await reporter.CreateStepAsync("Test Step", CancellationToken.None);
383
var
step = await reporter.CreateStepAsync("Test Step", CancellationToken.None);
403
var
step = await reporter.CreateStepAsync("Test Step", CancellationToken.None);
422
var
step = await reporter.CreateStepAsync("Test Step", CancellationToken.None);
455
await using
var
step = await reporter.CreateStepAsync("Test Step", CancellationToken.None);
540
var
step = await reporter.CreateStepAsync("Test Step", CancellationToken.None);
555
var
step = await reporter.CreateStepAsync("Test Step", CancellationToken.None);
583
var
step = await reporter.CreateStepAsync("Test Step", CancellationToken.None);
617
var
step = await reporter.CreateStepAsync("Test Step", CancellationToken.None);
642
var
step = await reporter.CreateStepAsync("Test Step", CancellationToken.None);
677
var
step = await reporter.CreateStepAsync("Test Step", CancellationToken.None);
Publishing\PublishingExtensionsTests.cs (7)
19
await using
var
step = await reporter.CreateStepAsync("Test Step", CancellationToken.None);
38
await using
var
step = await reporter.CreateStepAsync("Test Step", CancellationToken.None);
41
var
result = await step.SucceedAsync("Success message", CancellationToken.None);
56
await using
var
step = await reporter.CreateStepAsync("Test Step", CancellationToken.None);
75
await using
var
step = await reporter.CreateStepAsync("Test Step", CancellationToken.None);
93
await using
var
step = await reporter.CreateStepAsync("Test Step", CancellationToken.None);
111
await using
var
step = await reporter.CreateStepAsync("Test Step", CancellationToken.None);