Пример #1
0
 public ResultCommand(CommandOnExecute execute)
 {
     _execute = execute;
 }
Пример #2
0
 public Command(CommandOnExecute onExecuteMethod, CommandOnCanExecute onCanExecuteMethod)
 {
     _execute    = onExecuteMethod;
     _canExecute = onCanExecuteMethod;
 }
Пример #3
0
 public ResultCommand(CommandOnExecute execute)
 {
     _execute = execute;
 }
Пример #4
0
 public TestCommand(CommandOnExecute onExe, CommandOnCanExecute onCanExe)
 {
     _execute    = onExe;
     _canExecute = onCanExe;
 }
Пример #5
0
 public Command(CommandOnExecute <T> onExecuteMethod, CommandOnCanExecute onCanExecuteMethod = null)
 {
     _execute    = onExecuteMethod;
     _canExecute = onCanExecuteMethod;
 }