DockerfileBuilderCallbackContext
Class net10.0
Provides context information for Dockerfile build callbacks.
namespace Aspire.Hosting.ApplicationModel;
public class DockerfileBuilderCallbackContext{ // ...} 5 members
Constructors1
Section titled ConstructorsDockerfileBuilderCallbackContext(IResource, DockerfileBuilder, IServiceProvider, CancellationToken) Initializes a new instance of the
DockerfileBuilderCallbackContext class. Properties4
Section titled PropertiesBuilderget Gets the Dockerfile builder instance.
CancellationTokengetCancellationToken Gets the cancellation token to observe while waiting for the task to complete.
Resourceget Gets the resource being built.
ServicesgetIServiceProvider Gets the service provider for dependency injection.