DockerfileBuilderCallbackAnnotation Constructors
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.
Overloads
| 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. |
DockerfileBuilderCallbackAnnotation()
Initializes a new instance of the DockerfileBuilderCallbackAnnotation class.
public DockerfileBuilderCallbackAnnotation();
Public Sub New ()
Applies to
DockerfileBuilderCallbackAnnotation(Func<DockerfileBuilderCallbackContext,Task>)
Initializes a new instance of the DockerfileBuilderCallbackAnnotation class with an initial callback.
public DockerfileBuilderCallbackAnnotation(Func<Aspire.Hosting.ApplicationModel.DockerfileBuilderCallbackContext,System.Threading.Tasks.Task> callback);
new Aspire.Hosting.ApplicationModel.DockerfileBuilderCallbackAnnotation : Func<Aspire.Hosting.ApplicationModel.DockerfileBuilderCallbackContext, System.Threading.Tasks.Task> -> Aspire.Hosting.ApplicationModel.DockerfileBuilderCallbackAnnotation
Public Sub New (callback As Func(Of DockerfileBuilderCallbackContext, Task))
Parameters
- callback
- Func<DockerfileBuilderCallbackContext,Task>
The initial callback function that will be invoked during the Dockerfile build process.