Handler.SetHandler Method
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
SetHandler(Command, Action)
Sets a command's handler based on an 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)
Parameters
- command
- Command
- handle
- Action
Applies to
SetHandler(Command, Func<Task>)
Sets a command's handler based on a 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))
Parameters
- command
- Command
Applies to
SetHandler<T>(Command, Action<T>, IValueDescriptor[])
Sets a command's handler based on an 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())
Type Parameters
- T
Parameters
- command
- Command
- handle
- Action<T>
- symbols
- IValueDescriptor[]
Applies to
SetHandler<T>(Command, Func<T,Task>, IValueDescriptor[])
Sets a command's handler based on a 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())
Type Parameters
- T
Parameters
- command
- Command
- symbols
- IValueDescriptor[]
Applies to
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[])
Sets a command's handler based on an Action<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16>.
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())
Type Parameters
- T1
- T2
- T3
- T4
- T5
- T6
- T7
- T8
- T9
- T10
- T11
- T12
- T13
- T14
- T15
- T16
Parameters
- command
- Command
- symbols
- IValueDescriptor[]
Applies to
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[])
Sets a command's handler based on a Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,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, 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())
Type Parameters
- T1
- T2
- T3
- T4
- T5
- T6
- T7
- T8
- T9
- T10
- T11
- T12
- T13
- T14
- T15
- T16
Parameters
- command
- Command
- symbols
- IValueDescriptor[]
Applies to
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[])
Sets a command's handler based on a Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,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, 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())
Type Parameters
- T1
- T2
- T3
- T4
- T5
- T6
- T7
- T8
- T9
- T10
- T11
- T12
- T13
- T14
- T15
Parameters
- command
- Command
- symbols
- IValueDescriptor[]
Applies to
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[])
Sets a command's handler based on an 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())
Type Parameters
- T1
- T2
- T3
- T4
- T5
- T6
- T7
- T8
- T9
- T10
- T11
- T12
- T13
- T14
- T15
Parameters
- command
- Command
- symbols
- IValueDescriptor[]
Applies to
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[])
Sets a command's handler based on a Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,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, 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())
Type Parameters
- T1
- T2
- T3
- T4
- T5
- T6
- T7
- T8
- T9
- T10
- T11
- T12
- T13
- T14
Parameters
- command
- Command
- symbols
- IValueDescriptor[]
Applies to
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[])
Sets a command's handler based on an 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())
Type Parameters
- T1
- T2
- T3
- T4
- T5
- T6
- T7
- T8
- T9
- T10
- T11
- T12
- T13
- T14
Parameters
- command
- Command
- symbols
- IValueDescriptor[]
Applies to
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[])
Sets a command's handler based on a 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())
Type Parameters
- T1
- T2
- T3
- T4
- T5
- T6
- T7
- T8
- T9
- T10
- T11
- T12
- T13
Parameters
- command
- Command
- symbols
- IValueDescriptor[]
Applies to
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[])
Sets a command's handler based on an 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())
Type Parameters
- T1
- T2
- T3
- T4
- T5
- T6
- T7
- T8
- T9
- T10
- T11
- T12
- T13
Parameters
- command
- Command
- symbols
- IValueDescriptor[]
Applies to
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[])
Sets a command's handler based on a 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())
Type Parameters
- T1
- T2
- T3
- T4
- T5
- T6
- T7
- T8
- T9
- T10
- T11
- T12
Parameters
- command
- Command
- symbols
- IValueDescriptor[]
Applies to
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[])
Sets a command's handler based on an 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())
Type Parameters
- T1
- T2
- T3
- T4
- T5
- T6
- T7
- T8
- T9
- T10
- T11
- T12
Parameters
- command
- Command
- symbols
- IValueDescriptor[]
Applies to
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[])
Sets a command's handler based on a 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())
Type Parameters
- T1
- T2
- T3
- T4
- T5
- T6
- T7
- T8
- T9
- T10
- T11
Parameters
- command
- Command
- symbols
- IValueDescriptor[]
Applies to
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[])
Sets a command's handler based on an 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())
Type Parameters
- T1
- T2
- T3
- T4
- T5
- T6
- T7
- T8
- T9
- T10
- T11
Parameters
- command
- Command
- symbols
- IValueDescriptor[]
Applies to
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[])
Sets a command's handler based on a 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())
Type Parameters
- T1
- T2
- T3
- T4
- T5
- T6
- T7
- T8
- T9
- T10
Parameters
- command
- Command
- symbols
- IValueDescriptor[]
Applies to
SetHandler<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>(Command, Action<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>, IValueDescriptor[])
Sets a command's handler based on an 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())
Type Parameters
- T1
- T2
- T3
- T4
- T5
- T6
- T7
- T8
- T9
- T10
Parameters
- command
- Command
- symbols
- IValueDescriptor[]
Applies to
SetHandler<T1,T2,T3,T4,T5,T6,T7,T8,T9>(Command, Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,Task>, IValueDescriptor[])
Sets a command's handler based on a 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())
Type Parameters
- T1
- T2
- T3
- T4
- T5
- T6
- T7
- T8
- T9
Parameters
- command
- Command
- symbols
- IValueDescriptor[]
Applies to
SetHandler<T1,T2,T3,T4,T5,T6,T7,T8,T9>(Command, Action<T1,T2,T3,T4,T5,T6,T7,T8,T9>, IValueDescriptor[])
Sets a command's handler based on an 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())
Type Parameters
- T1
- T2
- T3
- T4
- T5
- T6
- T7
- T8
- T9
Parameters
- command
- Command
- symbols
- IValueDescriptor[]
Applies to
SetHandler<T1,T2,T3,T4,T5,T6,T7,T8>(Command, Action<T1,T2,T3,T4,T5,T6,T7,T8>, IValueDescriptor[])
Sets a command's handler based on an 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())
Type Parameters
- T1
- T2
- T3
- T4
- T5
- T6
- T7
- T8
Parameters
- command
- Command
- symbols
- IValueDescriptor[]
Applies to
SetHandler<T1,T2,T3,T4,T5,T6,T7,T8>(Command, Func<T1,T2,T3,T4,T5,T6,T7,T8,Task>, IValueDescriptor[])
Sets a command's handler based on a 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())
Type Parameters
- T1
- T2
- T3
- T4
- T5
- T6
- T7
- T8
Parameters
- command
- Command
- symbols
- IValueDescriptor[]
Applies to
SetHandler<T1,T2,T3,T4,T5,T6,T7>(Command, Func<T1,T2,T3,T4,T5,T6,T7,Task>, IValueDescriptor[])
Sets a command's handler based on a 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())
Type Parameters
- T1
- T2
- T3
- T4
- T5
- T6
- T7
Parameters
- command
- Command
- symbols
- IValueDescriptor[]
Applies to
SetHandler<T1,T2,T3,T4,T5,T6,T7>(Command, Action<T1,T2,T3,T4,T5,T6,T7>, IValueDescriptor[])
Sets a command's handler based on an 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())
Type Parameters
- T1
- T2
- T3
- T4
- T5
- T6
- T7
Parameters
- command
- Command
- handle
- Action<T1,T2,T3,T4,T5,T6,T7>
- symbols
- IValueDescriptor[]
Applies to
SetHandler<T1,T2,T3,T4,T5,T6>(Command, Func<T1,T2,T3,T4,T5,T6,Task>, IValueDescriptor[])
Sets a command's handler based on a 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())
Type Parameters
- T1
- T2
- T3
- T4
- T5
- T6
Parameters
- command
- Command
- symbols
- IValueDescriptor[]
Applies to
SetHandler<T1,T2,T3,T4,T5,T6>(Command, Action<T1,T2,T3,T4,T5,T6>, IValueDescriptor[])
Sets a command's handler based on an 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())
Type Parameters
- T1
- T2
- T3
- T4
- T5
- T6
Parameters
- command
- Command
- handle
- Action<T1,T2,T3,T4,T5,T6>
- symbols
- IValueDescriptor[]
Applies to
SetHandler<T1,T2,T3,T4,T5>(Command, Func<T1,T2,T3,T4,T5,Task>, IValueDescriptor[])
Sets a command's handler based on a 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())
Type Parameters
- T1
- T2
- T3
- T4
- T5
Parameters
- command
- Command
- symbols
- IValueDescriptor[]
Applies to
SetHandler<T1,T2,T3,T4,T5>(Command, Action<T1,T2,T3,T4,T5>, IValueDescriptor[])
Sets a command's handler based on an 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())
Type Parameters
- T1
- T2
- T3
- T4
- T5
Parameters
- command
- Command
- handle
- Action<T1,T2,T3,T4,T5>
- symbols
- IValueDescriptor[]
Applies to
SetHandler<T1,T2,T3,T4>(Command, Func<T1,T2,T3,T4,Task>, IValueDescriptor[])
Sets a command's handler based on a 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())
Type Parameters
- T1
- T2
- T3
- T4
Parameters
- command
- Command
- symbols
- IValueDescriptor[]
Applies to
SetHandler<T1,T2,T3,T4>(Command, Action<T1,T2,T3,T4>, IValueDescriptor[])
Sets a command's handler based on an 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())
Type Parameters
- T1
- T2
- T3
- T4
Parameters
- command
- Command
- handle
- Action<T1,T2,T3,T4>
- symbols
- IValueDescriptor[]
Applies to
SetHandler<T1,T2,T3>(Command, Func<T1,T2,T3,Task>, IValueDescriptor[])
Sets a command's handler based on a 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())
Type Parameters
- T1
- T2
- T3
Parameters
- command
- Command
- symbols
- IValueDescriptor[]
Applies to
SetHandler<T1,T2,T3>(Command, Action<T1,T2,T3>, IValueDescriptor[])
Sets a command's handler based on an 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())
Type Parameters
- T1
- T2
- T3
Parameters
- command
- Command
- handle
- Action<T1,T2,T3>
- symbols
- IValueDescriptor[]
Applies to
SetHandler<T1,T2>(Command, Action<T1,T2>, IValueDescriptor[])
Sets a command's handler based on an 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())
Type Parameters
- T1
- T2
Parameters
- command
- Command
- handle
- Action<T1,T2>
- symbols
- IValueDescriptor[]
Applies to
SetHandler<T1,T2>(Command, Func<T1,T2,Task>, IValueDescriptor[])
Sets a command's handler based on a 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())
Type Parameters
- T1
- T2
Parameters
- command
- Command
- symbols
- IValueDescriptor[]