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

Adds a command branch.
public static IBranchConfigurator AddBranch<TSettings>(this IConfigurator<TSettings> configurator, string name, Action<IConfigurator<TSettings>> action) 
    where TSettings : CommandSettings
Containing Type
ConfiguratorExtensions

Parameters

TSettings
The command setting type.

Parameters

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

Returns