CommandLineArgsCallbackAnnotation 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 annotation that provides a callback to be executed with a list of command-line arguments when an executable resource is started.
public class CommandLineArgsCallbackAnnotation : Aspire.Hosting.ApplicationModel.IResourceAnnotation
type CommandLineArgsCallbackAnnotation = class
interface IResourceAnnotation
Public Class CommandLineArgsCallbackAnnotation
Implements IResourceAnnotation
- Inheritance
-
CommandLineArgsCallbackAnnotation
- Implements
Constructors
CommandLineArgsCallbackAnnotation(Action<IList<Object>>) |
Initializes a new instance of the CommandLineArgsCallbackAnnotation class with the specified callback action. |
CommandLineArgsCallbackAnnotation(Func<CommandLineArgsCallbackContext,Task>) |
Initializes a new instance of the CommandLineArgsCallbackAnnotation class with the specified callback action. |
Properties
Callback |
Gets the callback action to be executed when the executable arguments are parsed. |