コード例 #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;
 }