Captura.DelegateCommand.DelegateCommand C# (CSharp) Method

DelegateCommand() public method

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