ContainerRuntimeArgsCallbackAnnotation Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents an additional argument to pass to the container runtime run command.
public sealed class ContainerRuntimeArgsCallbackAnnotation : Aspire.Hosting.ApplicationModel.IResourceAnnotation
type ContainerRuntimeArgsCallbackAnnotation = class
interface IResourceAnnotation
Public NotInheritable Class ContainerRuntimeArgsCallbackAnnotation
Implements IResourceAnnotation
- Inheritance
-
ContainerRuntimeArgsCallbackAnnotation
- Implements
Constructors
ContainerRuntimeArgsCallbackAnnotation(Action<IList<Object>>) |
Initializes a new instance of the ContainerRuntimeArgsCallbackAnnotation class with the specified callback action. |
ContainerRuntimeArgsCallbackAnnotation(Func<ContainerRuntimeArgsCallbackContext,Task>) |
Initializes a new instance of the ContainerRuntimeArgsCallbackAnnotation class with the specified callback action. |
Properties
Callback |
Gets the callback action to be executed when the executable arguments are parsed. |