Esempio n. 1
0
 void Initialize(ApplicationViewModel vm)
 {
     ApplicationViewModel = vm ?? throw new ArgumentNullException(nameof(vm));
     this.Subscribe(Invoke);
 }
Esempio n. 2
0
 public ApplicationCommand(ApplicationViewModel vm, IScheduler scheduler) :
     base(scheduler)
 {
     Initialize(vm);
 }
Esempio n. 3
0
 public ApplicationCommand(ApplicationViewModel vm, IObservable <bool> canExecuteSource, IScheduler scheduler, bool initialValue = true) :
     base(canExecuteSource, scheduler, initialValue)
 {
     Initialize(vm);
 }
Esempio n. 4
0
 public ApplicationCommand(ApplicationViewModel vm) :
     base()
 {
     Initialize(vm);
 }