Class NamedCommands
Contains static methods and properties which allow to execute and handle named commands.
public class NamedCommands
- Inheritance
-
NamedCommands
Fields
- CommandAppLog
Gets 'App.Log' command.
- Default
Gets or sets default named commands provider.
Methods
- CanExecute(string, object?)
Returns whether the command can be executed.
- Execute(string, object?)
Executes the command.
- GetCommand(string)
Gets permanent ICommand for the specified name.
- Register(string, ExecuteDelegate, CanExecuteDelegate?)
Registers command with the specified name and implementation.
- Register(string, ICommand?)
Registers command with the specified name and implementation.
- Register(string, Action)
Registers command with the specified name and implementation.