CommandLineBuilderExtensions.AddCommand<TBuilder> Metoda
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
public:
generic <typename TBuilder>
where TBuilder : System::CommandLine::Builder::CommandBuilder[System::Runtime::CompilerServices::Extension]
static TBuilder AddCommand(TBuilder builder, System::CommandLine::Command ^ command);
public static TBuilder AddCommand<TBuilder>(this TBuilder builder, System.CommandLine.Command command) where TBuilder : System.CommandLine.Builder.CommandBuilder;
static member AddCommand : 'Builder * System.CommandLine.Command -> 'Builder (requires 'Builder :> System.CommandLine.Builder.CommandBuilder)
<Extension()>
Public Function AddCommand(Of TBuilder As CommandBuilder) (builder As TBuilder, command As Command) As TBuilder
Parametry typu
- TBuilder
Parametry
- builder
- TBuilder
- command
- Command