public ActionCommand ( Action executeAction, Func |
||
executeAction | Action | The action to be performed on |
canExecuteFunction | Func |
The fuction that will test if the action can be executed. |
return | System |
public ActionCommand(Action executeAction, Func<bool> canExecuteFunction)
{
_executeAction = executeAction;
_canExecuteFunction = canExecuteFunction;
}