IUnsafeConfigurator

Represents an unsafe configurator.

Represents an unsafe configurator.

Methods

public IBranchConfigurator AddBranch(string name, Type settings, Action<IUnsafeBranchConfigurator> action)

Adds a command branch.

Parameters:

name (string)
The name of the command branch.
settings (Type)
The command setting type.
action (Action<IUnsafeBranchConfigurator>)
The command branch configurator.

Returns:

A branch configurator that can be used to configure the branch further.

public ICommandConfigurator AddCommand(string name, Type command)

Adds a command.

Parameters:

name (string)
The name of the command.
command (Type)
The command type.

Returns:

A command configurator that can be used to configure the command further.

Extension Methods

IConfigurator SafetyOn(this IUnsafeConfigurator configurator)

Converts an IUnsafeConfigurator to a configurator with type safety.

Returns:

An IConfigurator.