ContainerBuildOptionsCallbackAnnotation
Class sealed net10.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 ConstructorsContainerBuildOptionsCallbackAnnotation(Func<ContainerBuildOptionsCallbackContext, Task>) Annotation that provides a callback to configure container build options for a resource.
ContainerBuildOptionsCallbackAnnotation(Action<ContainerBuildOptionsCallbackContext>) Initializes a new instance of
ContainerBuildOptionsCallbackAnnotation with a synchronous callback.