Add(TCommand, Option) Method

Definition

Assembly XenoAtom.CommandLine.dll

Adds an option to this command container.

public static TCommand Add<TCommand>(this TCommand command, Option option)
    where TCommand : CommandContainer

Type parameters

TCommand
Type of the command container.

Parameters

command
{TCommand}

The command to add the action to.

option
Option

The option to add to this container.

Returns

{TCommand}
The command container.