AddBranch<TSettings>(string, Action<IConfigurator<TSettings>>) Method

Adds a command branch.
void AddBranch<TSettings>(string name, Action<IConfigurator<TSettings>> action) 
    where TSettings : CommandSettings
Containing Type
IConfigurator

Parameters

TSettings
The command setting type.

Parameters

string name
The name of the command branch.
Action<IConfigurator<TSettings>> action
The command branch configurator.