예제 #1
0
 public UIViewModelCommand(Func <object, bool> canExecute, Func <object, Task> execute, UIViewModelBase viewModel)
     : this(execute, viewModel)
 {
     this.canExecute = canExecute;
 }
예제 #2
0
 public UIViewModelCommand(Func <bool> canExecute, Func <object, Task> asyncParameterExecute, UIViewModelBase viewModel)
     : this(asyncParameterExecute, viewModel)
 {
     this.canExecute = canExecute;
 }
예제 #3
0
 public UIViewModelCommand(Func <object, Task> execute, UIViewModelBase viewModel)
 {
     this.execute   = execute;
     this.viewModel = viewModel;
 }
예제 #4
0
 public UIViewModelCommand(Func <bool> canExecute, Action <object> parameterExecute, UIViewModelBase viewModel)
     : this(parameterExecute, viewModel)
 {
     this.canExecute = canExecute;
 }
예제 #5
0
 public UIViewModelCommand(Func <object, Task> asyncParameterExecute, UIViewModelBase viewModel)
 {
     this.asyncParameterExecute = asyncParameterExecute;
     this.viewModel             = viewModel;
 }
예제 #6
0
 public UIViewModelCommand(Action <object> parameterExecute, UIViewModelBase viewModel)
 {
     this.parameterExecute = parameterExecute;
     this.viewModel        = viewModel;
 }
예제 #7
0
 public UIViewModelCommand(Func <bool> canExecute, Func <Task> asyncExecute, UIViewModelBase viewModel)
     : this(asyncExecute, viewModel)
 {
     this.canExecute = canExecute;
 }
예제 #8
0
 public UIViewModelCommand(Func <Task> asyncExecute, UIViewModelBase viewModel)
 {
     this.asyncExecute = asyncExecute;
     this.viewModel    = viewModel;
 }
예제 #9
0
 public UIViewModelCommand(Func <bool> canExecute, Action execute, UIViewModelBase viewModel)
     : this(execute, viewModel)
 {
     this.canExecute = canExecute;
 }
예제 #10
0
 public UIViewModelCommand(Action execute, UIViewModelBase viewModel)
 {
     this.execute   = execute;
     this.viewModel = viewModel;
 }