CommandLineBuilderExtensions.AddCommand<TBuilder> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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