C# Class Tectil.NCommand.CommandLookup

Command lookup through reflection. Searching for methods with CommandAttribute.
Inheritance: ICommandLookup
Afficher le fichier Open project: tectil/NCommand

Méthodes publiques

Méthode Description
CommandLookup ( Tectil.NCommand.CommandConfiguration configuration ) : System

Initializes a new instance of the CommandLookup class.

GetCommand ( string name ) : CommandInfo

Get command.

GetMethode ( CommandInfo command ) : Tuple

Gets the methode.

Private Methods

Méthode Description
GetCommands ( ) : IEnumerable>

Method Details

CommandLookup() public méthode

Initializes a new instance of the CommandLookup class.
public CommandLookup ( Tectil.NCommand.CommandConfiguration configuration ) : System
configuration Tectil.NCommand.CommandConfiguration Configuration
Résultat System

GetCommand() public méthode

Get command.
public GetCommand ( string name ) : CommandInfo
name string
Résultat Tectil.NCommand.Contract.CommandInfo

GetMethode() public méthode

Gets the methode.
public GetMethode ( CommandInfo command ) : Tuple
command Tectil.NCommand.Contract.CommandInfo The command.
Résultat Tuple