ContainerBuildOptionsCallbackAnnotation Class

Definition

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.

Applies to