Handler.SetHandler 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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
適用於
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
- 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
- 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
- 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[])
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
- 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[])
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[])
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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- handle
- Action<T1,T2,T3,T4,T5,T6,T7>
- 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
- 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
- handle
- Action<T1,T2,T3,T4,T5,T6>
- 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
- 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
- handle
- Action<T1,T2,T3,T4,T5>
- 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
- 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
- handle
- Action<T1,T2,T3,T4>
- 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
- 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
- handle
- Action<T1,T2,T3>
- 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
- symbols
- IValueDescriptor[]