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\IPublishingActivityProgressReporter.cs (1)
20
Task<
IPublishingStep
> CreateStepAsync(string title, CancellationToken cancellationToken = default);
Publishing\Publisher.cs (1)
31
var
step = await progressReporter.CreateStepAsync(
Publishing\PublishingActivityProgressReporter.cs (1)
37
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)
53
var
step = await activityReporter.CreateStepAsync(
102
private async Task BuildImageAsync(
IPublishingStep
? step, IResource resource, CancellationToken cancellationToken)
137
private async Task BuildProjectContainerImageAsync(IResource resource,
IPublishingStep
? step, CancellationToken cancellationToken)
249
private async Task BuildContainerImageFromDockerfileAsync(string resourceName, string contextPath, string dockerfilePath, string imageName,
IPublishingStep
? step, CancellationToken cancellationToken)
299
IPublishingStep
? step,
Aspire.Hosting.Azure (2)
AzurePublishingContext.cs (2)
78
var
step = await ProgressReporter.CreateStepAsync(
108
private async Task WriteAzureArtifactsOutputAsync(
IPublishingStep
step, DistributedApplicationModel model, AzureEnvironmentResource environment, CancellationToken cancellationToken)
Aspire.Hosting.Docker (1)
DockerComposePublishingContext.cs (1)
129
var
step = await progressReporter.CreateStepAsync(
Aspire.Hosting.Tests (31)
Publishing\PublishingActivityProgressReporterTests.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);
456
await using
var
step = await reporter.CreateStepAsync("Test Step", CancellationToken.None);
501
var
step = await reporter.CreateStepAsync("Test Step", CancellationToken.None);
516
var
step = await reporter.CreateStepAsync("Test Step", CancellationToken.None);
544
var
step = await reporter.CreateStepAsync("Test Step", CancellationToken.None);
578
var
step = await reporter.CreateStepAsync("Test Step", CancellationToken.None);
603
var
step = await reporter.CreateStepAsync("Test Step", CancellationToken.None);
638
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);