1 instantiation of PublishingContext
Aspire.Hosting (1)
Publishing\Publisher.cs (1)
98var publishingContext = new PublishingContext(model, executionContext, serviceProvider, logger, cancellationToken, outputPath);
10 references to PublishingContext
Aspire.Hosting (5)
ApplicationModel\PublishingCallbackAnnotation.cs (2)
16public sealed class PublishingCallbackAnnotation(Func<PublishingContext, Task> callback) : IResourceAnnotation 21public Func<PublishingContext, Task> Callback { get; } = callback ?? throw new ArgumentNullException(nameof(callback));
Publishing\Publisher.cs (1)
98var publishingContext = new PublishingContext(model, executionContext, serviceProvider, logger, cancellationToken, outputPath);
ResourceBuilderExtensions.cs (2)
321/// <param name="callback">Callback method which takes a <see cref="PublishingContext"/> which can be used to publish assets.</param> 324public static IResourceBuilder<T> WithPublishingCallback<T>(this IResourceBuilder<T> builder, Func<PublishingContext, Task> callback) where T : IResource
Aspire.Hosting.Azure (1)
AzureEnvironmentResource.cs (1)
54private Task PublishAsync(PublishingContext context)
Aspire.Hosting.Docker (2)
DockerComposeEnvironmentResource.cs (1)
63private Task PublishAsync(PublishingContext context)
src\Shared\PublishingContextUtils.cs (1)
13public static string GetEnvironmentOutputPath(PublishingContext context, IComputeEnvironmentResource environment)
Aspire.Hosting.Kubernetes (2)
KubernetesEnvironmentResource.cs (1)
89private Task PublishAsync(PublishingContext context)
src\Shared\PublishingContextUtils.cs (1)
13public static string GetEnvironmentOutputPath(PublishingContext context, IComputeEnvironmentResource environment)