RelayCommand.RelayCommand C# (CSharp) Méthode

RelayCommand() public méthode

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