Esempio n. 1
0
 public SubscribersViewModel(IEventAggregator eventAggregator, IDetailsController detailsController)
 {
     _eventAggregator   = eventAggregator;
     _detailsController = detailsController;
     UpdateSubscribers();
     eventAggregator.Subscribe(this);
 }
Esempio n. 2
0
 public DetailsFormViewModel(IEventAggregator eventAggregator, IDetailsController detailsController)
 {
     _eventAggregator   = eventAggregator;
     _detailsController = detailsController;
     eventAggregator.Subscribe(this);
 }