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

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

Creates a new command.
public RelayCommand ( System.Action execute, Func canExecute ) : System
execute System.Action The execution logic.
canExecute Func The execution status logic.
Результат System
        public RelayCommand(Action execute, Func<bool> canExecute)
        {
            if (execute == null)
                throw new ArgumentNullException("execute");
            _execute = execute;
            _canExecute = canExecute;
        }

Same methods

RelayCommand::RelayCommand ( System.Action execute ) : System