Add(TCommand, ArgumentSource) Method

Definition

Assembly XenoAtom.CommandLine.dll

Adds the specified argument source to this command container.

public static TCommand Add<TCommand>(this TCommand command, ArgumentSource source)
    where TCommand : CommandContainer

Type parameters

TCommand
Type of the command container.

Parameters

command
{TCommand}

The command to add the action to.

source
ArgumentSource

The argument source providing arguments.

Returns

{TCommand}
The command container.