Kieli

CommandLineBuilderExtensions.AddCommand<TBuilder> Method

Definition

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

Type Parameters

TBuilder

Parameters

builder
TBuilder
command
Command

Returns

TBuilder

Applies to