2 implementations of IPublishingStep
Aspire.Hosting (2)
Publishing\NullPublishingActivityReporter.cs (1)
30internal sealed class NullPublishingStep : IPublishingStep
Publishing\PublishingStep.cs (1)
15internal sealed class PublishingStep : IPublishingStep
58 references to IPublishingStep
Aspire.Hosting (17)
Publishing\IPublishingActivityReporter.cs (1)
20Task<IPublishingStep> CreateStepAsync(string title, CancellationToken cancellationToken = default);
Publishing\NullPublishingActivityReporter.cs (2)
17public Task<IPublishingStep> CreateStepAsync(string title, CancellationToken cancellationToken = default) 19return Task.FromResult<IPublishingStep>(new NullPublishingStep());
Publishing\Publisher.cs (1)
29var step = await progressReporter.CreateStepAsync(
Publishing\PublishingActivityReporter.cs (1)
36public 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. 23public static async Task<IPublishingStep> SucceedAsync( 24this IPublishingStep step, 40public static async Task<IPublishingStep> WarnAsync( 41this IPublishingStep step, 57public static async Task<IPublishingStep> FailAsync( 58this IPublishingStep step,
Publishing\ResourceContainerImageBuilder.cs (5)
146var step = await activityReporter.CreateStepAsync( 196private async Task BuildImageAsync(IPublishingStep? step, IResource resource, ContainerBuildOptions? options, CancellationToken cancellationToken) 233private async Task BuildProjectContainerImageAsync(IResource resource, IPublishingStep? step, ContainerBuildOptions? options, CancellationToken cancellationToken) 340private async Task BuildContainerImageFromDockerfileAsync(string resourceName, string contextPath, string dockerfilePath, string imageName, IPublishingStep? step, ContainerBuildOptions? options, CancellationToken cancellationToken) 392IPublishingStep? step,
Aspire.Hosting.Azure (9)
AzureDeployingContext.cs (5)
75var deployingStep = await activityReporter.CreateStepAsync("Deploying Azure resources", cancellationToken).ConfigureAwait(false); 198var computeStep = await activityReporter.CreateStepAsync("Deploying compute resources", cancellationToken).ConfigureAwait(false); 285var loginStep = await activityReporter.CreateStepAsync("Authenticating to container registries", cancellationToken).ConfigureAwait(false); 308private async Task AuthenticateToAcr(IPublishingStep parentStep, string registryName, CancellationToken cancellationToken) 340var pushStep = await activityReporter.CreateStepAsync($"Pushing {totalImageCount} images to container registries", cancellationToken).ConfigureAwait(false);
AzurePublishingContext.cs (2)
88var step = await ActivityReporter.CreateStepAsync( 118private async Task WriteAzureArtifactsOutputAsync(IPublishingStep step, DistributedApplicationModel model, AzureEnvironmentResource environment, CancellationToken cancellationToken)
Provisioning\Internal\PublishModeProvisioningContextProvider.cs (2)
107var step = await activityReporter.CreateStepAsync( 225var step = await activityReporter.CreateStepAsync(
Aspire.Hosting.Docker (1)
DockerComposePublishingContext.cs (1)
129var step = await activityReporter.CreateStepAsync(
Aspire.Hosting.Tests (31)
Publishing\PublishingActivityReporterTests.cs (24)
27var step = await reporter.CreateStepAsync(title, CancellationToken.None); 58var step = await reporter.CreateStepAsync("Parent Step", CancellationToken.None); 110var step = await reporter.CreateStepAsync("Test Step", CancellationToken.None); 129var step = await reporter.CreateStepAsync("Test Step", CancellationToken.None); 160var step = await reporter.CreateStepAsync("Test Step", CancellationToken.None); 191var step = await reporter.CreateStepAsync("Test Step", CancellationToken.None); 195var dummyStep = await reporter.CreateStepAsync("Dummy Step", CancellationToken.None); 213var step = await reporter.CreateStepAsync("Test Step", CancellationToken.None); 232var step = await reporter.CreateStepAsync("Test Step", CancellationToken.None); 267var step = await reporter.CreateStepAsync("Test Step", CancellationToken.None); 329var step1 = await reporter.CreateStepAsync("Step 1", CancellationToken.None); 330var step2 = await reporter.CreateStepAsync("Step 2", CancellationToken.None); 331var step3 = await reporter.CreateStepAsync("Step 3", CancellationToken.None); 366var step = await reporter.CreateStepAsync("Test Step", CancellationToken.None); 383var step = await reporter.CreateStepAsync("Test Step", CancellationToken.None); 403var step = await reporter.CreateStepAsync("Test Step", CancellationToken.None); 422var step = await reporter.CreateStepAsync("Test Step", CancellationToken.None); 455await using var step = await reporter.CreateStepAsync("Test Step", CancellationToken.None); 540var step = await reporter.CreateStepAsync("Test Step", CancellationToken.None); 555var step = await reporter.CreateStepAsync("Test Step", CancellationToken.None); 583var step = await reporter.CreateStepAsync("Test Step", CancellationToken.None); 617var step = await reporter.CreateStepAsync("Test Step", CancellationToken.None); 642var step = await reporter.CreateStepAsync("Test Step", CancellationToken.None); 677var step = await reporter.CreateStepAsync("Test Step", CancellationToken.None);
Publishing\PublishingExtensionsTests.cs (7)
19await using var step = await reporter.CreateStepAsync("Test Step", CancellationToken.None); 38await using var step = await reporter.CreateStepAsync("Test Step", CancellationToken.None); 41var result = await step.SucceedAsync("Success message", CancellationToken.None); 56await using var step = await reporter.CreateStepAsync("Test Step", CancellationToken.None); 75await using var step = await reporter.CreateStepAsync("Test Step", CancellationToken.None); 93await using var step = await reporter.CreateStepAsync("Test Step", CancellationToken.None); 111await using var step = await reporter.CreateStepAsync("Test Step", CancellationToken.None);