共用方式為


CommandLineArgsCallbackAnnotation Constructors

Definition

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>>)

Source:
CommandLineArgsCallbackAnnotation.cs
Source:
CommandLineArgsCallbackAnnotation.cs

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

callback
Action<IList<Object>>

The callback action to be executed.

Applies to

CommandLineArgsCallbackAnnotation(Func<CommandLineArgsCallbackContext,Task>)

Source:
CommandLineArgsCallbackAnnotation.cs
Source:
CommandLineArgsCallbackAnnotation.cs

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.

Applies to