CommandLineBuilderExtensions.AddCommand<TBuilder> Metoda
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
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