Skip to content
DocsTry Aspire
DocsTry

ContainerBuildOptionsCallbackContext Properties

ClassProperties11 members
Context for configuring container build options via a callback.
CancellationTokenSection titled CancellationTokenCancellationToken
Gets the cancellation token.
public CancellationToken CancellationToken { get; }
Gets or sets the destination for the container image.
public ContainerImageDestination? Destination { get; set; }
Gets the distributed application execution context.
public DistributedApplicationExecutionContext ExecutionContext { get; }
Gets or sets the container image format.
public ContainerImageFormat? ImageFormat { get; set; }
LocalImageNameSection titled LocalImageNamenullablestring?
Gets or sets the local image name for the built container.
public string? LocalImageName { get; set; }
LocalImageTagSection titled LocalImageTagnullablestring?
Gets or sets the local image tag for the built container.
public string? LocalImageTag { get; set; }
Gets the logger instance.
public ILogger Logger { get; }
OutputPathSection titled OutputPathnullablestring?
Gets or sets the output path for the container archive.
public string? OutputPath { get; set; }
Gets the resource being built.
public IResource Resource { get; }
ServicesSection titled ServicesIServiceProvider
Gets the service provider.
public IServiceProvider Services { get; }
Gets or sets the target platform for the container.
public ContainerTargetPlatform? TargetPlatform { get; set; }