Method | Description | |
---|---|---|
CanExecute ( object parameter ) : bool |
Determines if the command can execute with the provided parameter by invoing the Func{Object,Bool} supplied during construction.
|
|
DelegateCommandBase ( Action |
Createse a new instance of a DelegateCommandBase, specifying both the execute action and the can execute function.
|
|
Execute ( object parameter ) : void |
Executes the command with the provided parameter by invoking the Action{Object} supplied during construction.
|
|
OnCanExecuteChanged ( ) : void |
Raises ICommand.CanExecuteChanged on the UI thread so every command invoker can requery ICommand.CanExecute to check if the CompositeCommand can execute.
|
Method | Description | |
---|---|---|
ICommand ( object parameter ) : bool | ||
ICommand ( object parameter ) : void | ||
RaiseCanExecuteChanged ( ) : void |
protected CanExecute ( object parameter ) : bool | ||
parameter | object | The parameter to use when determining if this command can execute. |
return | bool |
protected DelegateCommandBase ( Action |
||
executeMethod | Action |
The |
canExecuteMethod | bool>.Func | The |
return | System |
protected Execute ( object parameter ) : void | ||
parameter | object | |
return | void |