DockerfileBuilderCallbackAnnotation
Classnet10.0
Represents an annotation for providing callbacks to programmatically modify Dockerfile builds.
namespace Aspire.Hosting.ApplicationModel;
public class DockerfileBuilderCallbackAnnotation : Aspire.Hosting.ApplicationModel.IResourceAnnotation{ // ...}Constructors2
Section titled Constructors Initializes a new instance of the
DockerfileBuilderCallbackAnnotation class. Initializes a new instance of the
DockerfileBuilderCallbackAnnotation class with an initial callback. Properties1
Section titled PropertiesCallbacksgetIReadOnlyList<Func<DockerfileBuilderCallbackContext, Task>> Gets the list of callback functions that will be invoked during the Dockerfile build process.
Methods1
Section titled Methods Adds a callback function to be invoked during the Dockerfile build process.