Ejemplo n.º 1
0
 private UICommand(CommandNoParamExecuteDelegate actionExecute,
     CommandNoParamCanExecuteDelegate actionCanExecute = null,
     bool startInThread = false)
 {
     mActionNoParamExecute = actionExecute;
     mActionNoParamCanExecute = actionCanExecute;
     mStartInThread = startInThread;
 }
Ejemplo n.º 2
0
 private UICommand
     (CommandNoParamExecuteDelegate actionExecute,
     CommandNoParamCanExecuteDelegate actionCanExecute = null,
     bool startInThread = false)
 {
     mActionNoParamExecute    = actionExecute;
     mActionNoParamCanExecute = actionCanExecute;
     mStartInThread           = startInThread;
 }
Ejemplo n.º 3
0
 public static UICommand Thread(CommandNoParamExecuteDelegate actionExecute,
     CommandNoParamCanExecuteDelegate actionCanExecute = null)
 {
     return new UICommand(actionExecute, actionCanExecute, true);
 }
Ejemplo n.º 4
0
 public static UICommand Regular(CommandNoParamExecuteDelegate actionExecute,
     CommandNoParamCanExecuteDelegate actionCanExecute = null)
 {
     return new UICommand(actionExecute, actionCanExecute, false);
 }
Ejemplo n.º 5
0
 public static UICommand Thread
     (CommandNoParamExecuteDelegate actionExecute,
     CommandNoParamCanExecuteDelegate actionCanExecute = null)
 {
     return(new UICommand(actionExecute, actionCanExecute, true));
 }
Ejemplo n.º 6
0
 public static UICommand Regular
     (CommandNoParamExecuteDelegate actionExecute,
     CommandNoParamCanExecuteDelegate actionCanExecute = null)
 {
     return(new UICommand(actionExecute, actionCanExecute, false));
 }