Skip to content
Docs Try Aspire

ContainerBuildOptionsCallbackContext Properties

Class Properties 10 members
Context for configuring container build options via a callback.
CancellationToken Section titled CancellationToken CancellationToken
Gets the cancellation token.
public CancellationToken CancellationToken { get; }
Gets the distributed application execution context.
public DistributedApplicationExecutionContext? ExecutionContext { get; }
Gets or sets the container image format.
public ContainerImageFormat? ImageFormat { get; set; }
LocalImageName Section titled LocalImageName nullable string?
Gets or sets the local image name for the built container.
public string? LocalImageName { get; set; }
LocalImageTag Section titled LocalImageTag nullable string?
Gets or sets the local image tag for the built container.
public string? LocalImageTag { get; set; }
Gets the logger instance.
public ILogger Logger { get; }
OutputPath Section titled OutputPath nullable string?
Gets or sets the output path for the container archive.
public string? OutputPath { get; set; }
Gets the resource being built.
public IResource Resource { get; }
Services Section titled Services IServiceProvider
Gets the service provider.
public IServiceProvider Services { get; }
Gets or sets the target platform for the container.
public ContainerTargetPlatform? TargetPlatform { get; set; }