ContainerBuildOptionsCallbackAnnotation 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.
Annotation that provides a callback to configure container build options for a resource.
public sealed class ContainerBuildOptionsCallbackAnnotation : Aspire.Hosting.ApplicationModel.IResourceAnnotation
type ContainerBuildOptionsCallbackAnnotation = class
interface IResourceAnnotation
Public NotInheritable Class ContainerBuildOptionsCallbackAnnotation
Implements IResourceAnnotation
- Inheritance
-
ContainerBuildOptionsCallbackAnnotation
- Implements
Constructors
| Name | Description |
|---|---|
| ContainerBuildOptionsCallbackAnnotation(Action<ContainerBuildOptionsCallbackContext>) |
Initializes a new instance of ContainerBuildOptionsCallbackAnnotation with a synchronous callback. |
| ContainerBuildOptionsCallbackAnnotation(Func<ContainerBuildOptionsCallbackContext,Task>) |
Annotation that provides a callback to configure container build options for a resource. |
Properties
| Name | Description |
|---|---|
| Callback |
Gets the callback function that will be invoked to configure container build options. |