示例#1
0
 public TestCommand(CommandOnExecute onExe, CommandOnCanExecute onCanExe)
 {
     _execute    = onExe;
     _canExecute = onCanExe;
 }
 public Command(CommandOnExecute onExecuteMethod, CommandOnCanExecute onCanExecuteMethod)
 {
     _execute    = onExecuteMethod;
     _canExecute = onCanExecuteMethod;
 }
示例#3
0
 public Command(CommandOnExecute <T> onExecuteMethod, CommandOnCanExecute onCanExecuteMethod = null)
 {
     _execute    = onExecuteMethod;
     _canExecute = onCanExecuteMethod;
 }