Captura.DelegateCommand.DelegateCommand C# (CSharp) Méthode

DelegateCommand() public méthode

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