Méthode | Description | |
---|---|---|
CommandFactory ( ) : System |
Initializes a new instance of the CommandFactory class.
|
|
ContainsKey ( string commandKey ) : bool |
A method to check if the command is already created.
|
|
CreateCommand ( string commandName ) : ICommand |
A method to create a command.
|
|
RegisterCommand ( string commandKey, Func |
A method to register a new command.
|
|
UnregisterCommand ( string commandKey ) : void |
A method to delete a command.
|
Méthode | Description | |
---|---|---|
RegisterDefaults ( ) : void |
A method to register default commands.
|
public ContainsKey ( string commandKey ) : bool | ||
commandKey | string | |
Résultat | bool |
public CreateCommand ( string commandName ) : ICommand | ||
commandName | string | |
Résultat | ICommand |
public RegisterCommand ( string commandKey, Func |
||
commandKey | string | |
commandProvidingMethod | Func |
|
Résultat | void |
public UnregisterCommand ( string commandKey ) : void | ||
commandKey | string | |
Résultat | void |