Captura.DelegateCommand.DelegateCommand C# (CSharp) Метод

DelegateCommand() публичный Метод

public DelegateCommand ( System.Action OnExecute, Func OnCanExecute = null ) : System
OnExecute System.Action
OnCanExecute Func
Результат System
        public DelegateCommand(Action OnExecute, Func<bool> OnCanExecute = null)
        {
            _execute = OnExecute;
            _canExecute = OnCanExecute;
        }