public balanceAllSelectCommand(ICommandOnExecute onExecuteMethod, ICommandOnCanExecute onCanExecuteMethod, CheckBox cb, int i)
 {
     _execute    = onExecuteMethod;
     _canExecute = onCanExecuteMethod;
     checkbox    = cb;
     slaveNum    = i;
 }
Example #2
0
 public RelayCommand(ICommandOnExecute onExecuteMethod, ICommandOnCanExecute onCanExecuteMethod)
 {
     m_Execute    = onExecuteMethod;
     m_CanExecute = onCanExecuteMethod;
 }
Example #3
0
 public UpdateServiceCommand(ICommandOnExecute onExecuteMethod, ICommandOnCanExecute onCanExecuteMethod)
 {
     _execute    = onExecuteMethod;
     _canExecute = onCanExecuteMethod;
 }
Example #4
0
 public DelegateCommand(ICommandOnExecute onExecuteMethod, ICommandOnCanExecute onCanExecuteMethod)
 {
     _execute    = onExecuteMethod;
     _canExecute = onCanExecuteMethod;
 }
Example #5
0
 public RelayCommand(ICommandOnExecute onExecuteMethod)
 {
     _execute    = onExecuteMethod;
     _canExecute = (object parameter) => { return(true); };
 }
Example #6
0
 public WPFRepoCommand(ICommandOnExecute onExecuteMethod, ICommandOnCanExecute onCanExecuteMethod)
 {
     _execute    = onExecuteMethod;
     _canExecute = onCanExecuteMethod;
 }
Example #7
0
 public WPFExchangeCommand(ICommandOnExecute onExecuteMethod, ICommandOnCanExecute onCanExecuteMethod)
 {
     _execute    = onExecuteMethod;
     _canExecute = onCanExecuteMethod;
 }
Example #8
0
 public CommandeLocationVoiture(ICommandOnExecute onExecuteMethod, ICommandOnCanExecute onCanExecuteMethod)
 {
     _execute    = onExecuteMethod;
     _canExecute = onCanExecuteMethod;
 }
Example #9
0
 public CommandExecutor(ICommandOnExecute onExecuteMethod, ICommandOnCanExecute onCanExecuteMethod)
 {
     _execute    = onExecuteMethod;
     _canExecute = onCanExecuteMethod;
 }
Example #10
0
 public SaveCommand(ICommandOnExecute onExecuteMethod, ICommandOnCanExecute onCanExecuteCommand) {
     _execute = onExecuteMethod;
     _canExecute = onCanExecuteCommand;
 }
 public AllCustomerViewModelCommand(ICommandOnExecute onExecuteMethod, ICommandOnCanExecute onCanExecuteMethod)
 {
     _execute = onExecuteMethod;
     _canExecute = onCanExecuteMethod;
 }
Example #12
0
 public ViewModelRepoCommand(ICommandOnExecute executeMethod, ICommandOnCanExecute canExecuteMethod)
 {
     _execute    = executeMethod;
     _canExecute = canExecuteMethod;
 }
Example #13
0
 public RelayCommand(ICommandOnExecute onExecuteMethod, ICommandOnCanExecute onCanExecuteMethod)
 {
     _execute = onExecuteMethod;
       _canExecute = onCanExecuteMethod;
 }
Example #14
0
 public CustomCommand(ICommandOnExecute onExecuteMethod, ICommandOnCanExecute onCanExecuteMethod)
 {
     _execute    = onExecuteMethod;
     _canExecute = onCanExecuteMethod;
 }
 public ViewModelMakeChangeUICommand(ICommandOnExecute onExecuteMethod, ICommandOnCanExecute onCanExecuteMethod)
 {
     _execute    = onExecuteMethod;
     _canExecute = onCanExecuteMethod;
 }
Example #16
0
 public Commanding(ICommandOnExecute onExecuteMethod, ICommandOnCanExecute onCanExecuteMethod)
 {
     _execute = onExecuteMethod;
     _canExecute = onCanExecuteMethod;
 }
Example #17
0
 /// <summary>
 /// Initializes a new instance of <see cref="DelegateCommand"/> class.
 /// </summary>
 /// <param name="action">Delegate to execute when Execute is called on the command.</param>
 /// <param name="canExecute">Delegate to execute when CanExecute is called on the command. This can be null.</param>
 public DelegateCommand(Action action, ICommandOnCanExecute canExecute)
 {
     _action = action;
     _canExecute = canExecute;
 }
Example #18
0
 /// <summary>
 /// Initializes a new instance of <see cref="DelegateCommand"/> class.
 /// </summary>
 /// <param name="action">Delegate to execute when Execute is called on the command.</param>
 /// <param name="canExecute">Delegate to execute when CanExecute is called on the command. This can be null.</param>
 public DelegateCommand(Action action, ICommandOnCanExecute canExecute)
 {
     _action     = action;
     _canExecute = canExecute;
 }
Example #19
0
 public SimpleCommand(ICommandOnExecute onExecuteMethod, ICommandOnCanExecute onCanExecuteMethod)
 {
     _execute    = onExecuteMethod;
     _canExecute = onCanExecuteMethod;
 }
Example #20
0
 public StandardCommand(ICommandOnExecute onExecuteMethod, ICommandOnCanExecute onCanExecuteMethod)
 {
     _execute    = onExecuteMethod;
     _canExecute = onCanExecuteMethod;
 }
 public gen2BalanceCommand(ICommandOnExecute onExecuteMethod, ICommandOnCanExecute onCanExecuteMethod, int i)
 {
     _execute    = onExecuteMethod;
     _canExecute = onCanExecuteMethod;
     num         = i;
 }
Example #22
0
 public AllCustomerViewModelCommand(ICommandOnExecute onExecuteMethod, ICommandOnCanExecute onCanExecuteMethod)
 {
     _execute    = onExecuteMethod;
     _canExecute = onCanExecuteMethod;
 }
Example #23
0
 public WPFShippingCommand(ICommandOnExecute onExecuteMethod, ICommandOnCanExecute onCanExecuteMethod)
 {
     _execute    = onExecuteMethod;
     _canExecute = onCanExecuteMethod;
 }
Example #24
0
 public ActionCommand(ICommandOnExecute onExecuteMethod, ICommandOnCanExecute onCanExecuteMethod)
 {
     _execute    = onExecuteMethod;
     _canExecute = onCanExecuteMethod;
 }
Example #25
0
 public SRRelayAsyncCommand(ICommandOnExecute onExecuteMethod, ICommandOnCanExecute onCanExecuteMethod)
 {
     _execute    = onExecuteMethod;
     _canexecute = onCanExecuteMethod;
 }
Example #26
0
 public commandModel(ICommandOnExecute onExecuteMethod, ICommandOnCanExecute onCanExecuteMethod)
 {
     _execute    = onExecuteMethod;
     _canExecute = onCanExecuteMethod;
 }
Example #27
0
 public CommandeCaseClick(ICommandOnExecute commmandOnExecute, ICommandOnCanExecute commandOnCanExecute)
 {
     onExecute  = commmandOnExecute;
     canExecute = commandOnCanExecute;
 }
Example #28
0
 public RelayCommand(ICommandOnExecute onExecuteMethod, ICommandOnCanExecute onCanExecuteMethod)
 {
     execute    = onExecuteMethod;
     canExecute = onCanExecuteMethod;
 }
Example #29
0
 public RelayCommand(ICommandOnExecute onExecuteMethod, ICommandOnCanExecute onCanExecuteMethod = null)
 {
     _execute    = onExecuteMethod;
     _canExecute = onCanExecuteMethod;
 }
Example #30
0
 public RelayCommand(ICommandOnExecute onExecuteMethod)
 {
     m_Execute    = onExecuteMethod;
     m_CanExecute = ReturnTrue;
 }