DockerfileBuilderCallbackAnnotation Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents an annotation for providing callbacks to programmatically modify Dockerfile builds.
public class DockerfileBuilderCallbackAnnotation : Aspire.Hosting.ApplicationModel.IResourceAnnotation
type DockerfileBuilderCallbackAnnotation = class
interface IResourceAnnotation
Public Class DockerfileBuilderCallbackAnnotation
Implements IResourceAnnotation
- Inheritance
-
DockerfileBuilderCallbackAnnotation
- Implements
Constructors
| DockerfileBuilderCallbackAnnotation() |
Initializes a new instance of the DockerfileBuilderCallbackAnnotation class. |
| DockerfileBuilderCallbackAnnotation(Func<DockerfileBuilderCallbackContext,Task>) |
Initializes a new instance of the DockerfileBuilderCallbackAnnotation class with an initial callback. |
Properties
| Callbacks |
Gets the list of callback functions that will be invoked during the Dockerfile build process. |
Methods
| AddCallback(Func<DockerfileBuilderCallbackContext,Task>) |
Adds a callback function to be invoked during the Dockerfile build process. |