1 implementation of IPublishingStep
Aspire.Hosting (1)
Publishing\PublishingStep.cs (1)
15internal sealed class PublishingStep : IPublishingStep
49 references to IPublishingStep
Aspire.Hosting (15)
Publishing\IPublishingActivityReporter.cs (1)
20Task<IPublishingStep> CreateStepAsync(string title, CancellationToken cancellationToken = default);
Publishing\Publisher.cs (1)
31var 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)
131var step = await activityReporter.CreateStepAsync( 181private async Task BuildImageAsync(IPublishingStep? step, IResource resource, ContainerBuildOptions? options, CancellationToken cancellationToken) 218private async Task BuildProjectContainerImageAsync(IResource resource, IPublishingStep? step, ContainerBuildOptions? options, CancellationToken cancellationToken) 325private async Task BuildContainerImageFromDockerfileAsync(string resourceName, string contextPath, string dockerfilePath, string imageName, IPublishingStep? step, ContainerBuildOptions? options, CancellationToken cancellationToken) 377IPublishingStep? step,
Aspire.Hosting.Azure (2)
AzurePublishingContext.cs (2)
79var step = await ActivityReporter.CreateStepAsync( 109private async Task WriteAzureArtifactsOutputAsync(IPublishingStep step, DistributedApplicationModel model, AzureEnvironmentResource environment, CancellationToken cancellationToken)
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);