ContainerBuildOptionsCallbackAnnotation
Classsealednet10.0
Annotation that provides a callback to configure container build options for a resource.
namespace Aspire.Hosting.ApplicationModel;
public sealed class ContainerBuildOptionsCallbackAnnotation : Aspire.Hosting.ApplicationModel.IResourceAnnotation{ // ...}Constructors2
Section titled Constructors Annotation that provides a callback to configure container build options for a resource.
Initializes a new instance of
ContainerBuildOptionsCallbackAnnotation with a synchronous callback. Properties1
Section titled PropertiesCallbackgetFunc<ContainerBuildOptionsCallbackContext, Task> Gets the callback function that will be invoked to configure container build options.