Method | 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.
|
Method | Description | |
---|---|---|
RegisterDefaults ( ) : void |
A method to register default commands.
|
public ContainsKey ( string commandKey ) : bool | ||
commandKey | string | |
return | bool |
public CreateCommand ( string commandName ) : ICommand | ||
commandName | string | |
return | ICommand |
public RegisterCommand ( string commandKey, Func |
||
commandKey | string | |
commandProvidingMethod | Func |
|
return | void |
public UnregisterCommand ( string commandKey ) : void | ||
commandKey | string | |
return | void |