public DelegateCommand ( System.Action exec, Func |
||
exec | System.Action | |
canExec | Func |
|
return | System |
public DelegateCommand(Action exec, Func<bool> canExec = null)
{
this.execute = exec;
this.canExecute = canExec;
}