RelayCommand.RelayCommand C# (CSharp) Метод

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

public RelayCommand ( Action, execute, Predicate, canExecute )
execute Action,
canExecute Predicate,
        public RelayCommand(Action<object> execute, Predicate<object> canExecute)
        {
            if (execute == null)
                throw new ArgumentNullException("execute");
            _execute = execute;
            _canExecute = canExecute;
        }
        public event EventHandler CanExecuteChanged