public DelegateCommand ( System.Action OnExecute, Func |
||
OnExecute | System.Action | |
OnCanExecute | Func |
|
return | System |
public DelegateCommand(Action OnExecute, Func<bool> OnCanExecute = null)
{
_execute = OnExecute;
_canExecute = OnCanExecute;
}