메소드 | 설명 | |
---|---|---|
CanExecute ( object parameter ) : bool | ||
Execute ( object parameter ) : void | ||
ProtectedCommand ( System.Action handler, bool canExecuteCommand = true ) : System |
Initializes a new instance of ProtectedCommand.
|
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 |