Handler.SetHandler 方法

定义

重载

SetHandler(Command, Action)

基于 Action设置命令的处理程序。

SetHandler(Command, Func<Task>)

基于 Func<TResult>设置命令的处理程序。

SetHandler<T>(Command, Action<T>, IValueDescriptor[])

基于 Action<T>设置命令的处理程序。

SetHandler<T>(Command, Func<T,Task>, IValueDescriptor[])

基于 Func<T,TResult>设置命令的处理程序。

SetHandler<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15, T16>(Command, Action<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13, T14,T15,T16>, IValueDescriptor[])

基于 Action<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16>设置命令的处理程序。

SetHandler<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15, T16>(Command, Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13, T14,T15,T16,Task>, IValueDescriptor[])

基于 Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,TResult>设置命令的处理程序。

SetHandler<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15>(Command, Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,Task>, IValueDescriptor[])

基于 Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,TResult>设置命令的处理程序。

SetHandler<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15>(Command, Action<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15>, IValueDescriptor[])

基于 Action<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15>设置命令的处理程序。

SetHandler<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14>(Command, Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,Task>, IValueDescriptor[])

基于 Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,TResult>设置命令的处理程序。

SetHandler<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14>(Command, Action<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14>, IValueDescriptor[])

基于 Action<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14>设置命令的处理程序。

SetHandler<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13>(Command, Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,Task>, IValueDescriptor[])

基于 Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,TResult>设置命令的处理程序。

SetHandler<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13>(Command, Action<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13>, IValueDescriptor[])

基于 Action<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13>设置命令的处理程序。

SetHandler<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12>(Command, Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,Task>, IValueDescriptor[])

基于 Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,TResult>设置命令的处理程序。

SetHandler<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12>(Command, Action<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12>, IValueDescriptor[])

基于 Action<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12>设置命令的处理程序。

SetHandler<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11>(Command, Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,Task>, IValueDescriptor[])

基于 Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,TResult>设置命令的处理程序。

SetHandler<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11>(Command, Action<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11>, IValueDescriptor[])

基于 Action<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11>设置命令的处理程序。

SetHandler<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>(Command, Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,Task>, IValueDescriptor[])

基于 Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,TResult>设置命令的处理程序。

SetHandler<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>(Command, Action<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>, IValueDescriptor[])

基于 Action<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>设置命令的处理程序。

SetHandler<T1,T2,T3,T4,T5,T6,T7,T8,T9>(Command, Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,Task>, IValueDescriptor[])

基于 Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,TResult>设置命令的处理程序。

SetHandler<T1,T2,T3,T4,T5,T6,T7,T8,T9>(Command, Action<T1,T2,T3,T4,T5,T6,T7,T8,T9>, IValueDescriptor[])

基于 Action<T1,T2,T3,T4,T5,T6,T7,T8,T9>设置命令的处理程序。

SetHandler<T1,T2,T3,T4,T5,T6,T7,T8>(Command, Action<T1,T2,T3,T4,T5,T6,T7,T8>, IValueDescriptor[])

基于 Action<T1,T2,T3,T4,T5,T6,T7,T8>设置命令的处理程序。

SetHandler<T1,T2,T3,T4,T5,T6,T7,T8>(Command, Func<T1,T2,T3,T4,T5,T6,T7,T8,Task>, IValueDescriptor[])

基于 Func<T1,T2,T3,T4,T5,T6,T7,T8,TResult>设置命令的处理程序。

SetHandler<T1,T2,T3,T4,T5,T6,T7>(Command, Func<T1,T2,T3,T4,T5,T6,T7,Task>, IValueDescriptor[])

基于 Func<T1,T2,T3,T4,T5,T6,T7,TResult>设置命令的处理程序。

SetHandler<T1,T2,T3,T4,T5,T6,T7>(Command, Action<T1,T2,T3,T4,T5,T6,T7>, IValueDescriptor[])

基于 Action<T1,T2,T3,T4,T5,T6,T7>设置命令的处理程序。

SetHandler<T1,T2,T3,T4,T5,T6>(Command, Func<T1,T2,T3,T4,T5,T6,Task>, IValueDescriptor[])

基于 Func<T1,T2,T3,T4,T5,T6,TResult>设置命令的处理程序。

SetHandler<T1,T2,T3,T4,T5,T6>(Command, Action<T1,T2,T3,T4,T5,T6>, IValueDescriptor[])

基于 Action<T1,T2,T3,T4,T5,T6>设置命令的处理程序。

SetHandler<T1,T2,T3,T4,T5>(Command, Func<T1,T2,T3,T4,T5,Task>, IValueDescriptor[])

基于 Func<T1,T2,T3,T4,T5,TResult>设置命令的处理程序。

SetHandler<T1,T2,T3,T4,T5>(Command, Action<T1,T2,T3,T4,T5>, IValueDescriptor[])

基于 Action<T1,T2,T3,T4,T5>设置命令的处理程序。

SetHandler<T1,T2,T3,T4>(Command, Func<T1,T2,T3,T4,Task>, IValueDescriptor[])

基于 Func<T1,T2,T3,T4,TResult>设置命令的处理程序。

SetHandler<T1,T2,T3,T4>(Command, Action<T1,T2,T3,T4>, IValueDescriptor[])

基于 Action<T1,T2,T3,T4>设置命令的处理程序。

SetHandler<T1,T2,T3>(Command, Func<T1,T2,T3,Task>, IValueDescriptor[])

基于 Func<T1,T2,T3,TResult>设置命令的处理程序。

SetHandler<T1,T2,T3>(Command, Action<T1,T2,T3>, IValueDescriptor[])

基于 Action<T1,T2,T3>设置命令的处理程序。

SetHandler<T1,T2>(Command, Action<T1,T2>, IValueDescriptor[])

基于 Action<T1,T2>设置命令的处理程序。

SetHandler<T1,T2>(Command, Func<T1,T2,Task>, IValueDescriptor[])

基于 Func<T1,T2,TResult>设置命令的处理程序。

SetHandler(Command, Action)

基于 Action设置命令的处理程序。

public:
[System::Runtime::CompilerServices::Extension]
 static void SetHandler(System::CommandLine::Command ^ command, Action ^ handle);
public static void SetHandler (this System.CommandLine.Command command, Action handle);
static member SetHandler : System.CommandLine.Command * Action -> unit
<Extension()>
Public Sub SetHandler (command As Command, handle As Action)

参数

command
Command
handle
Action

适用于

SetHandler(Command, Func<Task>)

基于 Func<TResult>设置命令的处理程序。

public:
[System::Runtime::CompilerServices::Extension]
 static void SetHandler(System::CommandLine::Command ^ command, Func<System::Threading::Tasks::Task ^> ^ handle);
public static void SetHandler (this System.CommandLine.Command command, Func<System.Threading.Tasks.Task> handle);
static member SetHandler : System.CommandLine.Command * Func<System.Threading.Tasks.Task> -> unit
<Extension()>
Public Sub SetHandler (command As Command, handle As Func(Of Task))

参数

command
Command
handle
Func<Task>

适用于

SetHandler<T>(Command, Action<T>, IValueDescriptor[])

基于 Action<T>设置命令的处理程序。

public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
 static void SetHandler(System::CommandLine::Command ^ command, Action<T> ^ handle, ... cli::array <System::CommandLine::Binding::IValueDescriptor ^> ^ symbols);
public static void SetHandler<T> (this System.CommandLine.Command command, Action<T> handle, params System.CommandLine.Binding.IValueDescriptor[] symbols);
static member SetHandler : System.CommandLine.Command * Action<'T> * System.CommandLine.Binding.IValueDescriptor[] -> unit
<Extension()>
Public Sub SetHandler(Of T) (command As Command, handle As Action(Of T), ParamArray symbols As IValueDescriptor())

类型参数

T

参数

command
Command
handle
Action<T>
symbols
IValueDescriptor[]

适用于

SetHandler<T>(Command, Func<T,Task>, IValueDescriptor[])

基于 Func<T,TResult>设置命令的处理程序。

public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
 static void SetHandler(System::CommandLine::Command ^ command, Func<T, System::Threading::Tasks::Task ^> ^ handle, ... cli::array <System::CommandLine::Binding::IValueDescriptor ^> ^ symbols);
public static void SetHandler<T> (this System.CommandLine.Command command, Func<T,System.Threading.Tasks.Task> handle, params System.CommandLine.Binding.IValueDescriptor[] symbols);
static member SetHandler : System.CommandLine.Command * Func<'T, System.Threading.Tasks.Task> * System.CommandLine.Binding.IValueDescriptor[] -> unit
<Extension()>
Public Sub SetHandler(Of T) (command As Command, handle As Func(Of T, Task), ParamArray symbols As IValueDescriptor())

类型参数

T

参数

command
Command
handle
Func<T,Task>
symbols
IValueDescriptor[]

适用于

SetHandler<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15, T16>(Command, Action<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13, T14,T15,T16>, IValueDescriptor[])

public:
generic <typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15, typename T16>
[System::Runtime::CompilerServices::Extension]
 static void SetHandler(System::CommandLine::Command ^ command, Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> ^ handle, ... cli::array <System::CommandLine::Binding::IValueDescriptor ^> ^ symbols);
public static void SetHandler<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16> (this System.CommandLine.Command command, Action<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16> handle, params System.CommandLine.Binding.IValueDescriptor[] symbols);
static member SetHandler : System.CommandLine.Command * Action<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, 'T8, 'T9, 'T10, 'T11, 'T12, 'T13, 'T14, 'T15, 'T16> * System.CommandLine.Binding.IValueDescriptor[] -> unit
<Extension()>
Public Sub SetHandler(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16) (command As Command, handle As Action(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16), ParamArray symbols As IValueDescriptor())

类型参数

T1
T2
T3
T4
T5
T6
T7
T8
T9
T10
T11
T12
T13
T14
T15
T16

参数

command
Command
symbols
IValueDescriptor[]

适用于

SetHandler<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15, T16>(Command, Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13, T14,T15,T16,Task>, IValueDescriptor[])

public:
generic <typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15, typename T16>
[System::Runtime::CompilerServices::Extension]
 static void SetHandler(System::CommandLine::Command ^ command, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, System::Threading::Tasks::Task ^> ^ handle, ... cli::array <System::CommandLine::Binding::IValueDescriptor ^> ^ symbols);
public static void SetHandler<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16> (this System.CommandLine.Command command, Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,System.Threading.Tasks.Task> handle, params System.CommandLine.Binding.IValueDescriptor[] symbols);
static member SetHandler : System.CommandLine.Command * Func<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, 'T8, 'T9, 'T10, 'T11, 'T12, 'T13, 'T14, 'T15, 'T16, System.Threading.Tasks.Task> * System.CommandLine.Binding.IValueDescriptor[] -> unit
<Extension()>
Public Sub SetHandler(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16) (command As Command, handle As Func(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, Task), ParamArray symbols As IValueDescriptor())

类型参数

T1
T2
T3
T4
T5
T6
T7
T8
T9
T10
T11
T12
T13
T14
T15
T16

参数

command
Command
handle
Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,Task>
symbols
IValueDescriptor[]

适用于

SetHandler<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15>(Command, Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,Task>, IValueDescriptor[])

public:
generic <typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15>
[System::Runtime::CompilerServices::Extension]
 static void SetHandler(System::CommandLine::Command ^ command, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, System::Threading::Tasks::Task ^> ^ handle, ... cli::array <System::CommandLine::Binding::IValueDescriptor ^> ^ symbols);
public static void SetHandler<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15> (this System.CommandLine.Command command, Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,System.Threading.Tasks.Task> handle, params System.CommandLine.Binding.IValueDescriptor[] symbols);
static member SetHandler : System.CommandLine.Command * Func<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, 'T8, 'T9, 'T10, 'T11, 'T12, 'T13, 'T14, 'T15, System.Threading.Tasks.Task> * System.CommandLine.Binding.IValueDescriptor[] -> unit
<Extension()>
Public Sub SetHandler(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15) (command As Command, handle As Func(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, Task), ParamArray symbols As IValueDescriptor())

类型参数

T1
T2
T3
T4
T5
T6
T7
T8
T9
T10
T11
T12
T13
T14
T15

参数

command
Command
handle
Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,Task>
symbols
IValueDescriptor[]

适用于

SetHandler<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15>(Command, Action<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15>, IValueDescriptor[])

基于 Action<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15>设置命令的处理程序。

public:
generic <typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15>
[System::Runtime::CompilerServices::Extension]
 static void SetHandler(System::CommandLine::Command ^ command, Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> ^ handle, ... cli::array <System::CommandLine::Binding::IValueDescriptor ^> ^ symbols);
public static void SetHandler<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15> (this System.CommandLine.Command command, Action<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15> handle, params System.CommandLine.Binding.IValueDescriptor[] symbols);
static member SetHandler : System.CommandLine.Command * Action<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, 'T8, 'T9, 'T10, 'T11, 'T12, 'T13, 'T14, 'T15> * System.CommandLine.Binding.IValueDescriptor[] -> unit
<Extension()>
Public Sub SetHandler(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15) (command As Command, handle As Action(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15), ParamArray symbols As IValueDescriptor())

类型参数

T1
T2
T3
T4
T5
T6
T7
T8
T9
T10
T11
T12
T13
T14
T15

参数

command
Command
symbols
IValueDescriptor[]

适用于

SetHandler<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14>(Command, Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,Task>, IValueDescriptor[])

public:
generic <typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14>
[System::Runtime::CompilerServices::Extension]
 static void SetHandler(System::CommandLine::Command ^ command, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, System::Threading::Tasks::Task ^> ^ handle, ... cli::array <System::CommandLine::Binding::IValueDescriptor ^> ^ symbols);
public static void SetHandler<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14> (this System.CommandLine.Command command, Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,System.Threading.Tasks.Task> handle, params System.CommandLine.Binding.IValueDescriptor[] symbols);
static member SetHandler : System.CommandLine.Command * Func<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, 'T8, 'T9, 'T10, 'T11, 'T12, 'T13, 'T14, System.Threading.Tasks.Task> * System.CommandLine.Binding.IValueDescriptor[] -> unit
<Extension()>
Public Sub SetHandler(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14) (command As Command, handle As Func(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, Task), ParamArray symbols As IValueDescriptor())

类型参数

T1
T2
T3
T4
T5
T6
T7
T8
T9
T10
T11
T12
T13
T14

参数

command
Command
handle
Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,Task>
symbols
IValueDescriptor[]

适用于

SetHandler<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14>(Command, Action<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14>, IValueDescriptor[])

基于 Action<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14>设置命令的处理程序。

public:
generic <typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14>
[System::Runtime::CompilerServices::Extension]
 static void SetHandler(System::CommandLine::Command ^ command, Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> ^ handle, ... cli::array <System::CommandLine::Binding::IValueDescriptor ^> ^ symbols);
public static void SetHandler<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14> (this System.CommandLine.Command command, Action<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14> handle, params System.CommandLine.Binding.IValueDescriptor[] symbols);
static member SetHandler : System.CommandLine.Command * Action<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, 'T8, 'T9, 'T10, 'T11, 'T12, 'T13, 'T14> * System.CommandLine.Binding.IValueDescriptor[] -> unit
<Extension()>
Public Sub SetHandler(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14) (command As Command, handle As Action(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14), ParamArray symbols As IValueDescriptor())

类型参数

T1
T2
T3
T4
T5
T6
T7
T8
T9
T10
T11
T12
T13
T14

参数

command
Command
symbols
IValueDescriptor[]

适用于

SetHandler<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13>(Command, Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,Task>, IValueDescriptor[])

基于 Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,TResult>设置命令的处理程序。

public:
generic <typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13>
[System::Runtime::CompilerServices::Extension]
 static void SetHandler(System::CommandLine::Command ^ command, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, System::Threading::Tasks::Task ^> ^ handle, ... cli::array <System::CommandLine::Binding::IValueDescriptor ^> ^ symbols);
public static void SetHandler<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13> (this System.CommandLine.Command command, Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,System.Threading.Tasks.Task> handle, params System.CommandLine.Binding.IValueDescriptor[] symbols);
static member SetHandler : System.CommandLine.Command * Func<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, 'T8, 'T9, 'T10, 'T11, 'T12, 'T13, System.Threading.Tasks.Task> * System.CommandLine.Binding.IValueDescriptor[] -> unit
<Extension()>
Public Sub SetHandler(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13) (command As Command, handle As Func(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, Task), ParamArray symbols As IValueDescriptor())

类型参数

T1
T2
T3
T4
T5
T6
T7
T8
T9
T10
T11
T12
T13

参数

command
Command
handle
Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,Task>
symbols
IValueDescriptor[]

适用于

SetHandler<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13>(Command, Action<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13>, IValueDescriptor[])

基于 Action<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13>设置命令的处理程序。

public:
generic <typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13>
[System::Runtime::CompilerServices::Extension]
 static void SetHandler(System::CommandLine::Command ^ command, Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> ^ handle, ... cli::array <System::CommandLine::Binding::IValueDescriptor ^> ^ symbols);
public static void SetHandler<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13> (this System.CommandLine.Command command, Action<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13> handle, params System.CommandLine.Binding.IValueDescriptor[] symbols);
static member SetHandler : System.CommandLine.Command * Action<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, 'T8, 'T9, 'T10, 'T11, 'T12, 'T13> * System.CommandLine.Binding.IValueDescriptor[] -> unit
<Extension()>
Public Sub SetHandler(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13) (command As Command, handle As Action(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13), ParamArray symbols As IValueDescriptor())

类型参数

T1
T2
T3
T4
T5
T6
T7
T8
T9
T10
T11
T12
T13

参数

command
Command
symbols
IValueDescriptor[]

适用于

SetHandler<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12>(Command, Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,Task>, IValueDescriptor[])

基于 Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,TResult>设置命令的处理程序。

public:
generic <typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12>
[System::Runtime::CompilerServices::Extension]
 static void SetHandler(System::CommandLine::Command ^ command, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, System::Threading::Tasks::Task ^> ^ handle, ... cli::array <System::CommandLine::Binding::IValueDescriptor ^> ^ symbols);
public static void SetHandler<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12> (this System.CommandLine.Command command, Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,System.Threading.Tasks.Task> handle, params System.CommandLine.Binding.IValueDescriptor[] symbols);
static member SetHandler : System.CommandLine.Command * Func<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, 'T8, 'T9, 'T10, 'T11, 'T12, System.Threading.Tasks.Task> * System.CommandLine.Binding.IValueDescriptor[] -> unit
<Extension()>
Public Sub SetHandler(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) (command As Command, handle As Func(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, Task), ParamArray symbols As IValueDescriptor())

类型参数

T1
T2
T3
T4
T5
T6
T7
T8
T9
T10
T11
T12

参数

command
Command
handle
Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,Task>
symbols
IValueDescriptor[]

适用于

SetHandler<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12>(Command, Action<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12>, IValueDescriptor[])

基于 Action<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12>设置命令的处理程序。

public:
generic <typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12>
[System::Runtime::CompilerServices::Extension]
 static void SetHandler(System::CommandLine::Command ^ command, Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> ^ handle, ... cli::array <System::CommandLine::Binding::IValueDescriptor ^> ^ symbols);
public static void SetHandler<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12> (this System.CommandLine.Command command, Action<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12> handle, params System.CommandLine.Binding.IValueDescriptor[] symbols);
static member SetHandler : System.CommandLine.Command * Action<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, 'T8, 'T9, 'T10, 'T11, 'T12> * System.CommandLine.Binding.IValueDescriptor[] -> unit
<Extension()>
Public Sub SetHandler(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) (command As Command, handle As Action(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12), ParamArray symbols As IValueDescriptor())

类型参数

T1
T2
T3
T4
T5
T6
T7
T8
T9
T10
T11
T12

参数

command
Command
symbols
IValueDescriptor[]

适用于

SetHandler<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11>(Command, Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,Task>, IValueDescriptor[])

基于 Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,TResult>设置命令的处理程序。

public:
generic <typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11>
[System::Runtime::CompilerServices::Extension]
 static void SetHandler(System::CommandLine::Command ^ command, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, System::Threading::Tasks::Task ^> ^ handle, ... cli::array <System::CommandLine::Binding::IValueDescriptor ^> ^ symbols);
public static void SetHandler<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11> (this System.CommandLine.Command command, Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,System.Threading.Tasks.Task> handle, params System.CommandLine.Binding.IValueDescriptor[] symbols);
static member SetHandler : System.CommandLine.Command * Func<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, 'T8, 'T9, 'T10, 'T11, System.Threading.Tasks.Task> * System.CommandLine.Binding.IValueDescriptor[] -> unit
<Extension()>
Public Sub SetHandler(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) (command As Command, handle As Func(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, Task), ParamArray symbols As IValueDescriptor())

类型参数

T1
T2
T3
T4
T5
T6
T7
T8
T9
T10
T11

参数

command
Command
handle
Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,Task>
symbols
IValueDescriptor[]

适用于

SetHandler<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11>(Command, Action<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11>, IValueDescriptor[])

基于 Action<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11>设置命令的处理程序。

public:
generic <typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11>
[System::Runtime::CompilerServices::Extension]
 static void SetHandler(System::CommandLine::Command ^ command, Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> ^ handle, ... cli::array <System::CommandLine::Binding::IValueDescriptor ^> ^ symbols);
public static void SetHandler<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11> (this System.CommandLine.Command command, Action<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11> handle, params System.CommandLine.Binding.IValueDescriptor[] symbols);
static member SetHandler : System.CommandLine.Command * Action<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, 'T8, 'T9, 'T10, 'T11> * System.CommandLine.Binding.IValueDescriptor[] -> unit
<Extension()>
Public Sub SetHandler(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) (command As Command, handle As Action(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11), ParamArray symbols As IValueDescriptor())

类型参数

T1
T2
T3
T4
T5
T6
T7
T8
T9
T10
T11

参数

command
Command
symbols
IValueDescriptor[]

适用于

SetHandler<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>(Command, Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,Task>, IValueDescriptor[])

基于 Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,TResult>设置命令的处理程序。

public:
generic <typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10>
[System::Runtime::CompilerServices::Extension]
 static void SetHandler(System::CommandLine::Command ^ command, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, System::Threading::Tasks::Task ^> ^ handle, ... cli::array <System::CommandLine::Binding::IValueDescriptor ^> ^ symbols);
public static void SetHandler<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10> (this System.CommandLine.Command command, Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,System.Threading.Tasks.Task> handle, params System.CommandLine.Binding.IValueDescriptor[] symbols);
static member SetHandler : System.CommandLine.Command * Func<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, 'T8, 'T9, 'T10, System.Threading.Tasks.Task> * System.CommandLine.Binding.IValueDescriptor[] -> unit
<Extension()>
Public Sub SetHandler(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10) (command As Command, handle As Func(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, Task), ParamArray symbols As IValueDescriptor())

类型参数

T1
T2
T3
T4
T5
T6
T7
T8
T9
T10

参数

command
Command
handle
Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,Task>
symbols
IValueDescriptor[]

适用于

SetHandler<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>(Command, Action<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>, IValueDescriptor[])

基于 Action<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>设置命令的处理程序。

public:
generic <typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10>
[System::Runtime::CompilerServices::Extension]
 static void SetHandler(System::CommandLine::Command ^ command, Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> ^ handle, ... cli::array <System::CommandLine::Binding::IValueDescriptor ^> ^ symbols);
public static void SetHandler<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10> (this System.CommandLine.Command command, Action<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10> handle, params System.CommandLine.Binding.IValueDescriptor[] symbols);
static member SetHandler : System.CommandLine.Command * Action<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, 'T8, 'T9, 'T10> * System.CommandLine.Binding.IValueDescriptor[] -> unit
<Extension()>
Public Sub SetHandler(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10) (command As Command, handle As Action(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10), ParamArray symbols As IValueDescriptor())

类型参数

T1
T2
T3
T4
T5
T6
T7
T8
T9
T10

参数

command
Command
symbols
IValueDescriptor[]

适用于

SetHandler<T1,T2,T3,T4,T5,T6,T7,T8,T9>(Command, Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,Task>, IValueDescriptor[])

基于 Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,TResult>设置命令的处理程序。

public:
generic <typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9>
[System::Runtime::CompilerServices::Extension]
 static void SetHandler(System::CommandLine::Command ^ command, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, System::Threading::Tasks::Task ^> ^ handle, ... cli::array <System::CommandLine::Binding::IValueDescriptor ^> ^ symbols);
public static void SetHandler<T1,T2,T3,T4,T5,T6,T7,T8,T9> (this System.CommandLine.Command command, Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,System.Threading.Tasks.Task> handle, params System.CommandLine.Binding.IValueDescriptor[] symbols);
static member SetHandler : System.CommandLine.Command * Func<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, 'T8, 'T9, System.Threading.Tasks.Task> * System.CommandLine.Binding.IValueDescriptor[] -> unit
<Extension()>
Public Sub SetHandler(Of T1, T2, T3, T4, T5, T6, T7, T8, T9) (command As Command, handle As Func(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, Task), ParamArray symbols As IValueDescriptor())

类型参数

T1
T2
T3
T4
T5
T6
T7
T8
T9

参数

command
Command
handle
Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,Task>
symbols
IValueDescriptor[]

适用于

SetHandler<T1,T2,T3,T4,T5,T6,T7,T8,T9>(Command, Action<T1,T2,T3,T4,T5,T6,T7,T8,T9>, IValueDescriptor[])

基于 Action<T1,T2,T3,T4,T5,T6,T7,T8,T9>设置命令的处理程序。

public:
generic <typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9>
[System::Runtime::CompilerServices::Extension]
 static void SetHandler(System::CommandLine::Command ^ command, Action<T1, T2, T3, T4, T5, T6, T7, T8, T9> ^ handle, ... cli::array <System::CommandLine::Binding::IValueDescriptor ^> ^ symbols);
public static void SetHandler<T1,T2,T3,T4,T5,T6,T7,T8,T9> (this System.CommandLine.Command command, Action<T1,T2,T3,T4,T5,T6,T7,T8,T9> handle, params System.CommandLine.Binding.IValueDescriptor[] symbols);
static member SetHandler : System.CommandLine.Command * Action<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, 'T8, 'T9> * System.CommandLine.Binding.IValueDescriptor[] -> unit
<Extension()>
Public Sub SetHandler(Of T1, T2, T3, T4, T5, T6, T7, T8, T9) (command As Command, handle As Action(Of T1, T2, T3, T4, T5, T6, T7, T8, T9), ParamArray symbols As IValueDescriptor())

类型参数

T1
T2
T3
T4
T5
T6
T7
T8
T9

参数

command
Command
symbols
IValueDescriptor[]

适用于

SetHandler<T1,T2,T3,T4,T5,T6,T7,T8>(Command, Action<T1,T2,T3,T4,T5,T6,T7,T8>, IValueDescriptor[])

基于 Action<T1,T2,T3,T4,T5,T6,T7,T8>设置命令的处理程序。

public:
generic <typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8>
[System::Runtime::CompilerServices::Extension]
 static void SetHandler(System::CommandLine::Command ^ command, Action<T1, T2, T3, T4, T5, T6, T7, T8> ^ handle, ... cli::array <System::CommandLine::Binding::IValueDescriptor ^> ^ symbols);
public static void SetHandler<T1,T2,T3,T4,T5,T6,T7,T8> (this System.CommandLine.Command command, Action<T1,T2,T3,T4,T5,T6,T7,T8> handle, params System.CommandLine.Binding.IValueDescriptor[] symbols);
static member SetHandler : System.CommandLine.Command * Action<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, 'T8> * System.CommandLine.Binding.IValueDescriptor[] -> unit
<Extension()>
Public Sub SetHandler(Of T1, T2, T3, T4, T5, T6, T7, T8) (command As Command, handle As Action(Of T1, T2, T3, T4, T5, T6, T7, T8), ParamArray symbols As IValueDescriptor())

类型参数

T1
T2
T3
T4
T5
T6
T7
T8

参数

command
Command
symbols
IValueDescriptor[]

适用于

SetHandler<T1,T2,T3,T4,T5,T6,T7,T8>(Command, Func<T1,T2,T3,T4,T5,T6,T7,T8,Task>, IValueDescriptor[])

基于 Func<T1,T2,T3,T4,T5,T6,T7,T8,TResult>设置命令的处理程序。

public:
generic <typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8>
[System::Runtime::CompilerServices::Extension]
 static void SetHandler(System::CommandLine::Command ^ command, Func<T1, T2, T3, T4, T5, T6, T7, T8, System::Threading::Tasks::Task ^> ^ handle, ... cli::array <System::CommandLine::Binding::IValueDescriptor ^> ^ symbols);
public static void SetHandler<T1,T2,T3,T4,T5,T6,T7,T8> (this System.CommandLine.Command command, Func<T1,T2,T3,T4,T5,T6,T7,T8,System.Threading.Tasks.Task> handle, params System.CommandLine.Binding.IValueDescriptor[] symbols);
static member SetHandler : System.CommandLine.Command * Func<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, 'T8, System.Threading.Tasks.Task> * System.CommandLine.Binding.IValueDescriptor[] -> unit
<Extension()>
Public Sub SetHandler(Of T1, T2, T3, T4, T5, T6, T7, T8) (command As Command, handle As Func(Of T1, T2, T3, T4, T5, T6, T7, T8, Task), ParamArray symbols As IValueDescriptor())

类型参数

T1
T2
T3
T4
T5
T6
T7
T8

参数

command
Command
handle
Func<T1,T2,T3,T4,T5,T6,T7,T8,Task>
symbols
IValueDescriptor[]

适用于

SetHandler<T1,T2,T3,T4,T5,T6,T7>(Command, Func<T1,T2,T3,T4,T5,T6,T7,Task>, IValueDescriptor[])

基于 Func<T1,T2,T3,T4,T5,T6,T7,TResult>设置命令的处理程序。

public:
generic <typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7>
[System::Runtime::CompilerServices::Extension]
 static void SetHandler(System::CommandLine::Command ^ command, Func<T1, T2, T3, T4, T5, T6, T7, System::Threading::Tasks::Task ^> ^ handle, ... cli::array <System::CommandLine::Binding::IValueDescriptor ^> ^ symbols);
public static void SetHandler<T1,T2,T3,T4,T5,T6,T7> (this System.CommandLine.Command command, Func<T1,T2,T3,T4,T5,T6,T7,System.Threading.Tasks.Task> handle, params System.CommandLine.Binding.IValueDescriptor[] symbols);
static member SetHandler : System.CommandLine.Command * Func<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, System.Threading.Tasks.Task> * System.CommandLine.Binding.IValueDescriptor[] -> unit
<Extension()>
Public Sub SetHandler(Of T1, T2, T3, T4, T5, T6, T7) (command As Command, handle As Func(Of T1, T2, T3, T4, T5, T6, T7, Task), ParamArray symbols As IValueDescriptor())

类型参数

T1
T2
T3
T4
T5
T6
T7

参数

command
Command
handle
Func<T1,T2,T3,T4,T5,T6,T7,Task>
symbols
IValueDescriptor[]

适用于

SetHandler<T1,T2,T3,T4,T5,T6,T7>(Command, Action<T1,T2,T3,T4,T5,T6,T7>, IValueDescriptor[])

基于 Action<T1,T2,T3,T4,T5,T6,T7>设置命令的处理程序。

public:
generic <typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7>
[System::Runtime::CompilerServices::Extension]
 static void SetHandler(System::CommandLine::Command ^ command, Action<T1, T2, T3, T4, T5, T6, T7> ^ handle, ... cli::array <System::CommandLine::Binding::IValueDescriptor ^> ^ symbols);
public static void SetHandler<T1,T2,T3,T4,T5,T6,T7> (this System.CommandLine.Command command, Action<T1,T2,T3,T4,T5,T6,T7> handle, params System.CommandLine.Binding.IValueDescriptor[] symbols);
static member SetHandler : System.CommandLine.Command * Action<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7> * System.CommandLine.Binding.IValueDescriptor[] -> unit
<Extension()>
Public Sub SetHandler(Of T1, T2, T3, T4, T5, T6, T7) (command As Command, handle As Action(Of T1, T2, T3, T4, T5, T6, T7), ParamArray symbols As IValueDescriptor())

类型参数

T1
T2
T3
T4
T5
T6
T7

参数

command
Command
symbols
IValueDescriptor[]

适用于

SetHandler<T1,T2,T3,T4,T5,T6>(Command, Func<T1,T2,T3,T4,T5,T6,Task>, IValueDescriptor[])

基于 Func<T1,T2,T3,T4,T5,T6,TResult>设置命令的处理程序。

public:
generic <typename T1, typename T2, typename T3, typename T4, typename T5, typename T6>
[System::Runtime::CompilerServices::Extension]
 static void SetHandler(System::CommandLine::Command ^ command, Func<T1, T2, T3, T4, T5, T6, System::Threading::Tasks::Task ^> ^ handle, ... cli::array <System::CommandLine::Binding::IValueDescriptor ^> ^ symbols);
public static void SetHandler<T1,T2,T3,T4,T5,T6> (this System.CommandLine.Command command, Func<T1,T2,T3,T4,T5,T6,System.Threading.Tasks.Task> handle, params System.CommandLine.Binding.IValueDescriptor[] symbols);
static member SetHandler : System.CommandLine.Command * Func<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, System.Threading.Tasks.Task> * System.CommandLine.Binding.IValueDescriptor[] -> unit
<Extension()>
Public Sub SetHandler(Of T1, T2, T3, T4, T5, T6) (command As Command, handle As Func(Of T1, T2, T3, T4, T5, T6, Task), ParamArray symbols As IValueDescriptor())

类型参数

T1
T2
T3
T4
T5
T6

参数

command
Command
handle
Func<T1,T2,T3,T4,T5,T6,Task>
symbols
IValueDescriptor[]

适用于

SetHandler<T1,T2,T3,T4,T5,T6>(Command, Action<T1,T2,T3,T4,T5,T6>, IValueDescriptor[])

基于 Action<T1,T2,T3,T4,T5,T6>设置命令的处理程序。

public:
generic <typename T1, typename T2, typename T3, typename T4, typename T5, typename T6>
[System::Runtime::CompilerServices::Extension]
 static void SetHandler(System::CommandLine::Command ^ command, Action<T1, T2, T3, T4, T5, T6> ^ handle, ... cli::array <System::CommandLine::Binding::IValueDescriptor ^> ^ symbols);
public static void SetHandler<T1,T2,T3,T4,T5,T6> (this System.CommandLine.Command command, Action<T1,T2,T3,T4,T5,T6> handle, params System.CommandLine.Binding.IValueDescriptor[] symbols);
static member SetHandler : System.CommandLine.Command * Action<'T1, 'T2, 'T3, 'T4, 'T5, 'T6> * System.CommandLine.Binding.IValueDescriptor[] -> unit
<Extension()>
Public Sub SetHandler(Of T1, T2, T3, T4, T5, T6) (command As Command, handle As Action(Of T1, T2, T3, T4, T5, T6), ParamArray symbols As IValueDescriptor())

类型参数

T1
T2
T3
T4
T5
T6

参数

command
Command
symbols
IValueDescriptor[]

适用于

SetHandler<T1,T2,T3,T4,T5>(Command, Func<T1,T2,T3,T4,T5,Task>, IValueDescriptor[])

基于 Func<T1,T2,T3,T4,T5,TResult>设置命令的处理程序。

public:
generic <typename T1, typename T2, typename T3, typename T4, typename T5>
[System::Runtime::CompilerServices::Extension]
 static void SetHandler(System::CommandLine::Command ^ command, Func<T1, T2, T3, T4, T5, System::Threading::Tasks::Task ^> ^ handle, ... cli::array <System::CommandLine::Binding::IValueDescriptor ^> ^ symbols);
public static void SetHandler<T1,T2,T3,T4,T5> (this System.CommandLine.Command command, Func<T1,T2,T3,T4,T5,System.Threading.Tasks.Task> handle, params System.CommandLine.Binding.IValueDescriptor[] symbols);
static member SetHandler : System.CommandLine.Command * Func<'T1, 'T2, 'T3, 'T4, 'T5, System.Threading.Tasks.Task> * System.CommandLine.Binding.IValueDescriptor[] -> unit
<Extension()>
Public Sub SetHandler(Of T1, T2, T3, T4, T5) (command As Command, handle As Func(Of T1, T2, T3, T4, T5, Task), ParamArray symbols As IValueDescriptor())

类型参数

T1
T2
T3
T4
T5

参数

command
Command
handle
Func<T1,T2,T3,T4,T5,Task>
symbols
IValueDescriptor[]

适用于

SetHandler<T1,T2,T3,T4,T5>(Command, Action<T1,T2,T3,T4,T5>, IValueDescriptor[])

基于 Action<T1,T2,T3,T4,T5>设置命令的处理程序。

public:
generic <typename T1, typename T2, typename T3, typename T4, typename T5>
[System::Runtime::CompilerServices::Extension]
 static void SetHandler(System::CommandLine::Command ^ command, Action<T1, T2, T3, T4, T5> ^ handle, ... cli::array <System::CommandLine::Binding::IValueDescriptor ^> ^ symbols);
public static void SetHandler<T1,T2,T3,T4,T5> (this System.CommandLine.Command command, Action<T1,T2,T3,T4,T5> handle, params System.CommandLine.Binding.IValueDescriptor[] symbols);
static member SetHandler : System.CommandLine.Command * Action<'T1, 'T2, 'T3, 'T4, 'T5> * System.CommandLine.Binding.IValueDescriptor[] -> unit
<Extension()>
Public Sub SetHandler(Of T1, T2, T3, T4, T5) (command As Command, handle As Action(Of T1, T2, T3, T4, T5), ParamArray symbols As IValueDescriptor())

类型参数

T1
T2
T3
T4
T5

参数

command
Command
symbols
IValueDescriptor[]

适用于

SetHandler<T1,T2,T3,T4>(Command, Func<T1,T2,T3,T4,Task>, IValueDescriptor[])

基于 Func<T1,T2,T3,T4,TResult>设置命令的处理程序。

public:
generic <typename T1, typename T2, typename T3, typename T4>
[System::Runtime::CompilerServices::Extension]
 static void SetHandler(System::CommandLine::Command ^ command, Func<T1, T2, T3, T4, System::Threading::Tasks::Task ^> ^ handle, ... cli::array <System::CommandLine::Binding::IValueDescriptor ^> ^ symbols);
public static void SetHandler<T1,T2,T3,T4> (this System.CommandLine.Command command, Func<T1,T2,T3,T4,System.Threading.Tasks.Task> handle, params System.CommandLine.Binding.IValueDescriptor[] symbols);
static member SetHandler : System.CommandLine.Command * Func<'T1, 'T2, 'T3, 'T4, System.Threading.Tasks.Task> * System.CommandLine.Binding.IValueDescriptor[] -> unit
<Extension()>
Public Sub SetHandler(Of T1, T2, T3, T4) (command As Command, handle As Func(Of T1, T2, T3, T4, Task), ParamArray symbols As IValueDescriptor())

类型参数

T1
T2
T3
T4

参数

command
Command
handle
Func<T1,T2,T3,T4,Task>
symbols
IValueDescriptor[]

适用于

SetHandler<T1,T2,T3,T4>(Command, Action<T1,T2,T3,T4>, IValueDescriptor[])

基于 Action<T1,T2,T3,T4>设置命令的处理程序。

public:
generic <typename T1, typename T2, typename T3, typename T4>
[System::Runtime::CompilerServices::Extension]
 static void SetHandler(System::CommandLine::Command ^ command, Action<T1, T2, T3, T4> ^ handle, ... cli::array <System::CommandLine::Binding::IValueDescriptor ^> ^ symbols);
public static void SetHandler<T1,T2,T3,T4> (this System.CommandLine.Command command, Action<T1,T2,T3,T4> handle, params System.CommandLine.Binding.IValueDescriptor[] symbols);
static member SetHandler : System.CommandLine.Command * Action<'T1, 'T2, 'T3, 'T4> * System.CommandLine.Binding.IValueDescriptor[] -> unit
<Extension()>
Public Sub SetHandler(Of T1, T2, T3, T4) (command As Command, handle As Action(Of T1, T2, T3, T4), ParamArray symbols As IValueDescriptor())

类型参数

T1
T2
T3
T4

参数

command
Command
symbols
IValueDescriptor[]

适用于

SetHandler<T1,T2,T3>(Command, Func<T1,T2,T3,Task>, IValueDescriptor[])

基于 Func<T1,T2,T3,TResult>设置命令的处理程序。

public:
generic <typename T1, typename T2, typename T3>
[System::Runtime::CompilerServices::Extension]
 static void SetHandler(System::CommandLine::Command ^ command, Func<T1, T2, T3, System::Threading::Tasks::Task ^> ^ handle, ... cli::array <System::CommandLine::Binding::IValueDescriptor ^> ^ symbols);
public static void SetHandler<T1,T2,T3> (this System.CommandLine.Command command, Func<T1,T2,T3,System.Threading.Tasks.Task> handle, params System.CommandLine.Binding.IValueDescriptor[] symbols);
static member SetHandler : System.CommandLine.Command * Func<'T1, 'T2, 'T3, System.Threading.Tasks.Task> * System.CommandLine.Binding.IValueDescriptor[] -> unit
<Extension()>
Public Sub SetHandler(Of T1, T2, T3) (command As Command, handle As Func(Of T1, T2, T3, Task), ParamArray symbols As IValueDescriptor())

类型参数

T1
T2
T3

参数

command
Command
handle
Func<T1,T2,T3,Task>
symbols
IValueDescriptor[]

适用于

SetHandler<T1,T2,T3>(Command, Action<T1,T2,T3>, IValueDescriptor[])

基于 Action<T1,T2,T3>设置命令的处理程序。

public:
generic <typename T1, typename T2, typename T3>
[System::Runtime::CompilerServices::Extension]
 static void SetHandler(System::CommandLine::Command ^ command, Action<T1, T2, T3> ^ handle, ... cli::array <System::CommandLine::Binding::IValueDescriptor ^> ^ symbols);
public static void SetHandler<T1,T2,T3> (this System.CommandLine.Command command, Action<T1,T2,T3> handle, params System.CommandLine.Binding.IValueDescriptor[] symbols);
static member SetHandler : System.CommandLine.Command * Action<'T1, 'T2, 'T3> * System.CommandLine.Binding.IValueDescriptor[] -> unit
<Extension()>
Public Sub SetHandler(Of T1, T2, T3) (command As Command, handle As Action(Of T1, T2, T3), ParamArray symbols As IValueDescriptor())

类型参数

T1
T2
T3

参数

command
Command
symbols
IValueDescriptor[]

适用于

SetHandler<T1,T2>(Command, Action<T1,T2>, IValueDescriptor[])

基于 Action<T1,T2>设置命令的处理程序。

public:
generic <typename T1, typename T2>
[System::Runtime::CompilerServices::Extension]
 static void SetHandler(System::CommandLine::Command ^ command, Action<T1, T2> ^ handle, ... cli::array <System::CommandLine::Binding::IValueDescriptor ^> ^ symbols);
public static void SetHandler<T1,T2> (this System.CommandLine.Command command, Action<T1,T2> handle, params System.CommandLine.Binding.IValueDescriptor[] symbols);
static member SetHandler : System.CommandLine.Command * Action<'T1, 'T2> * System.CommandLine.Binding.IValueDescriptor[] -> unit
<Extension()>
Public Sub SetHandler(Of T1, T2) (command As Command, handle As Action(Of T1, T2), ParamArray symbols As IValueDescriptor())

类型参数

T1
T2

参数

command
Command
handle
Action<T1,T2>
symbols
IValueDescriptor[]

适用于

SetHandler<T1,T2>(Command, Func<T1,T2,Task>, IValueDescriptor[])

基于 Func<T1,T2,TResult>设置命令的处理程序。

public:
generic <typename T1, typename T2>
[System::Runtime::CompilerServices::Extension]
 static void SetHandler(System::CommandLine::Command ^ command, Func<T1, T2, System::Threading::Tasks::Task ^> ^ handle, ... cli::array <System::CommandLine::Binding::IValueDescriptor ^> ^ symbols);
public static void SetHandler<T1,T2> (this System.CommandLine.Command command, Func<T1,T2,System.Threading.Tasks.Task> handle, params System.CommandLine.Binding.IValueDescriptor[] symbols);
static member SetHandler : System.CommandLine.Command * Func<'T1, 'T2, System.Threading.Tasks.Task> * System.CommandLine.Binding.IValueDescriptor[] -> unit
<Extension()>
Public Sub SetHandler(Of T1, T2) (command As Command, handle As Func(Of T1, T2, Task), ParamArray symbols As IValueDescriptor())

类型参数

T1
T2

参数

command
Command
handle
Func<T1,T2,Task>
symbols
IValueDescriptor[]

适用于