DistanceAndDirectionLibrary.Helpers.RelayCommand.RelayCommand C# (CSharp) Method

RelayCommand() public method

public RelayCommand ( Action execute, Predicate canExecute ) : System
execute Action
canExecute Predicate
return System
        public RelayCommand(Action<object> execute, Predicate<object> canExecute)
        {
            if (execute == null)
                throw new ArgumentNullException("execute");

            _execute = execute;
            _canExecute = canExecute;
        }
        #endregion // Constructors

Same methods

RelayCommand::RelayCommand ( Action execute ) : System