ContainerRuntimeArgsCallbackAnnotation
Classsealednet10.0
Represents an additional argument to pass to the container runtime run command.
namespace Aspire.Hosting.ApplicationModel;
public sealed class ContainerRuntimeArgsCallbackAnnotation : Aspire.Hosting.ApplicationModel.IResourceAnnotation{ // ...}Constructors2
Section titled Constructors Initializes a new instance of the
ContainerRuntimeArgsCallbackAnnotation class with the specified callback action. Initializes a new instance of the
ContainerRuntimeArgsCallbackAnnotation class with the specified callback action. Properties1
Section titled PropertiesCallbackgetFunc<ContainerRuntimeArgsCallbackContext, Task> Gets the callback action to be executed when the executable arguments are parsed.