Inheritance: ApplicationViewModel
Beispiel #1
0
        protected PackageCommand(PackageViewModel packageViewModel, IObservable<bool> canExecuteSource, IScheduler scheduler, bool initialValue = true)
            : base(canExecuteSource, scheduler, initialValue)
        {
            if (packageViewModel == null)
                throw new ArgumentNullException("packageViewModel");

            PackageViewModel = packageViewModel;
            this.Subscribe(Invoke);
        }
Beispiel #2
0
 protected PackageCommand(PackageViewModel packageViewModel, IObservable<bool> canExecuteSource, bool initialValue = true)
     : this(packageViewModel, canExecuteSource, Scheduler.Immediate, initialValue)
 { }
Beispiel #3
0
 protected PackageCommand(PackageViewModel packageViewModel, IScheduler scheduler)
     : this(packageViewModel, Observable.Never<bool>(), scheduler)
 { }
Beispiel #4
0
 protected PackageCommand(PackageViewModel packageViewModel)
     : this(packageViewModel, Scheduler.Immediate)
 { }
Beispiel #5
0
 protected PackageCommand(PackageViewModel packageViewModel, IObservable <bool> canExecuteSource, IScheduler scheduler, bool initialValue = true)
     : base(packageViewModel, canExecuteSource, scheduler, initialValue)
 {
 }
Beispiel #6
0
 protected PackageCommand(PackageViewModel packageViewModel, IScheduler scheduler)
     : base(packageViewModel, scheduler)
 {
 }
Beispiel #7
0
 protected PackageCommand(PackageViewModel packageViewModel)
     : base(packageViewModel)
 {
 }