HostingExtensions.UseCommandHandler<THandler>(Command) Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
public:
generic <typename THandler>
where THandler : System::CommandLine::Invocation::CommandLineAction[System::Runtime::CompilerServices::Extension]
static System::CommandLine::Command ^ UseCommandHandler(System::CommandLine::Command ^ command);
public static System.CommandLine.Command UseCommandHandler<THandler>(this System.CommandLine.Command command) where THandler : System.CommandLine.Invocation.CommandLineAction;
static member UseCommandHandler : System.CommandLine.Command -> System.CommandLine.Command (requires 'Handler :> System.CommandLine.Invocation.CommandLineAction)
<Extension()>
Public Function UseCommandHandler(Of THandler As CommandLineAction) (command As Command) As Command
Parâmetros de tipo
- THandler
Parâmetros
- command
- Command