Exemplo n.º 1
0
        public DelegateCommand(ExecuteCommandDelegate <T> executeCommand, CanExecuteCommandDelegate <T> canExecuteCommand)
        {
            Check.NotNull(executeCommand, "executeCommand");
            Check.NotNull(canExecuteCommand, "canExecuteCommand");

            _executeCommand    = executeCommand;
            _canExecuteCommand = canExecuteCommand;
        }
Exemplo n.º 2
0
 public DelegateCommand(ExecuteCommandDelegate execute, CanExecuteCommandDelegate canExecute)
 {
     this.execute = execute;
     this.canExecute = canExecute;
 }
 public DelegateCommand(ExecuteCommandDelegate <T> execute, CanExecuteCommandDelegate <T> canExecute)
 {
     this.execute    = execute;
     this.canExecute = canExecute;
 }
Exemplo n.º 4
0
 public RelayCommand(ExecuteCommandDelegate execute, CanExecuteCommandDelegate canExecute)
 {
     this.execute    = execute;
     this.canExecute = canExecute;
 }
Exemplo n.º 5
0
 public RelayCommand(ExecuteCommandDelegate execute, CanExecuteCommandDelegate canExecute)
 {
     this._execute = execute;
     this._canExecute = canExecute;
 }