ContainerRuntimeArgsCallbackAnnotation
Class sealed net10.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 ConstructorsContainerRuntimeArgsCallbackAnnotation(Func<ContainerRuntimeArgsCallbackContext, Task>) Initializes a new instance of the
ContainerRuntimeArgsCallbackAnnotation class with the specified callback action. ContainerRuntimeArgsCallbackAnnotation(Action<IList<object>>) Initializes a new instance of the
ContainerRuntimeArgsCallbackAnnotation class with the specified callback action.