Język

CommandLineBuilderExtensions.AddCommand<TBuilder> Metoda

Definicja

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

Zwraca

TBuilder

Dotyczy