CommandLineArgsCallbackAnnotation Constructors
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.
Overloads
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. |
CommandLineArgsCallbackAnnotation(Action<IList<Object>>)
Initializes a new instance of the CommandLineArgsCallbackAnnotation class with the specified callback action.
public CommandLineArgsCallbackAnnotation (Action<System.Collections.Generic.IList<object>> callback);
new Aspire.Hosting.ApplicationModel.CommandLineArgsCallbackAnnotation : Action<System.Collections.Generic.IList<obj>> -> Aspire.Hosting.ApplicationModel.CommandLineArgsCallbackAnnotation
Public Sub New (callback As Action(Of IList(Of Object)))
Parameters
Applies to
CommandLineArgsCallbackAnnotation(Func<CommandLineArgsCallbackContext,Task>)
Initializes a new instance of the CommandLineArgsCallbackAnnotation class with the specified callback action.
public CommandLineArgsCallbackAnnotation (Func<Aspire.Hosting.ApplicationModel.CommandLineArgsCallbackContext,System.Threading.Tasks.Task> callback);
new Aspire.Hosting.ApplicationModel.CommandLineArgsCallbackAnnotation : Func<Aspire.Hosting.ApplicationModel.CommandLineArgsCallbackContext, System.Threading.Tasks.Task> -> Aspire.Hosting.ApplicationModel.CommandLineArgsCallbackAnnotation
Public Sub New (callback As Func(Of CommandLineArgsCallbackContext, Task))
Parameters
- callback
- Func<CommandLineArgsCallbackContext,Task>
The callback action to be executed.