Метод | Описание | |
---|---|---|
CanExecute ( object parameter ) : bool | ||
Execute ( object parameter ) : void | ||
ProtectedCommand ( System.Action handler, bool canExecuteCommand = true ) : System |
Initializes a new instance of ProtectedCommand.
|
public CanExecute ( object parameter ) : bool | ||
parameter | object | |
Результат | bool |
public Execute ( object parameter ) : void | ||
parameter | object | |
Результат | void |
public ProtectedCommand ( System.Action handler, bool canExecuteCommand = true ) : System | ||
handler | System.Action | The action to execute when the command is executed. |
canExecuteCommand | bool | Whether the command is enabled or not. |
Результат | System |