示例#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;
 }