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

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

Parameters

TDerivedSettings
The derived command setting type.

Parameters

string name
The name of the command branch.
Action<IConfigurator<TDerivedSettings>> action
The command branch configuration.