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