Skip to content
Docs Try Aspire
Docs Try

DockerfileBuilderCallbackContext

Handle
📦 Aspire.Hosting v13.4.0
interface DockerfileBuilderCallbackContext {
readonly builder: DockerfileBuilder;
readonly cancellationToken: cancellationToken;
readonly resource: IResource;
readonly services: IServiceProvider;
}

Properties

property builder DockerfileBuilder get
Gets the Dockerfile builder instance.
property cancellationToken cancellationToken get
Gets the cancellation token to observe while waiting for the task to complete.
property resource IResource get
Gets the resource being built.
property services IServiceProvider get
Gets the service provider for dependency injection.