DockerfileBuilderCallbackAnnotation
Class net10.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 ConstructorsDockerfileBuilderCallbackAnnotation Initializes a new instance of the
DockerfileBuilderCallbackAnnotation class. DockerfileBuilderCallbackAnnotation(Func<DockerfileBuilderCallbackContext, Task>) Initializes a new instance of the
DockerfileBuilderCallbackAnnotation class with an initial callback.