Ejemplo n.º 1
0
 public AsyncCommand(Func <Task> action, BaseViewModel viewModel)
     : this(action, null, null, viewModel)
 {
 }
Ejemplo n.º 2
0
 public BusyState(BaseViewModel baseViewModel, int maxProgressValue, string message = null) : this(baseViewModel, message)
 {
     _maxProgressValue = maxProgressValue;
     _progressValue    = 0;
 }
Ejemplo n.º 3
0
 public AsyncCommand(Func <Task> action, Func <bool> canExecute, BaseViewModel viewModel)
     : this(action, null, canExecute, viewModel)
 {
 }
Ejemplo n.º 4
0
 public AsyncCommand(Func <Task> action, string busyMessage, BaseViewModel viewModel)
     : this(action, busyMessage, null, viewModel)
 {
 }
Ejemplo n.º 5
0
 public AsyncCommand(Func <Task> action, string busyMessage, Func <bool> canExecute, BaseViewModel viewModel)
     : base(null, canExecute)
 {
     _action      = action;
     _busyMessage = busyMessage;
     _viewModel   = viewModel;
 }
Ejemplo n.º 6
0
 public NonAsyncCommand(Action action, BaseViewModel viewModel)
     : this(action, null, null, viewModel)
 {
 }
Ejemplo n.º 7
0
 public NonAsyncCommand(Action action, string busyMessage, BaseViewModel viewModel)
     : this(action, busyMessage, null, viewModel)
 {
 }
Ejemplo n.º 8
0
 public NonAsyncCommand(Action action, Func <bool> canExecute, BaseViewModel viewModel)
     : this(action, null, canExecute, viewModel)
 {
 }
Ejemplo n.º 9
0
 public AsyncParameterCommand(Func <TParam, Task> action, BaseViewModel viewModel)
     : this(action, null, null, viewModel)
 {
 }