public DictionaryPageViewModel(ILifetimeScope lifetimeScope, IPlaygroundReduxDispatcher dispatcher) : base(lifetimeScope, dispatcher)
 {
     AddItem    = new RelayCommand(AddItemExecute);
     RemoveItem = new RelayCommand(RemoveItemExecute, () => !(SelectedItem is null));
 }
 public MainViewModel(IPlaygroundReduxDispatcher dispatcher)
 {
     this.dispatcher          = dispatcher;
     dispatcher.StateChanged += (s, e) => UpdateReduxState();
 }
 public PageViewModel(ILifetimeScope lifetimeScope, IPlaygroundReduxDispatcher dispatcher)
 {
     this.lifetimeScope       = lifetimeScope;
     this.dispatcher          = dispatcher;
     dispatcher.StateChanged += Dispatcher_StateChanged;
 }
Exemple #4
0
 public FirstPageViewModel(ILifetimeScope lifetimeScope, IPlaygroundReduxDispatcher dispatcher) : base(lifetimeScope, dispatcher)
 {
     Click = new RelayCommand(ClickExecute);
 }