public PMCatcherViewModel() { settingsService = ServiceLocator.Current.GetInstance <IPMSettingsService>(); eventAggregator = ServiceLocator.Current.GetInstance <IEventAggregator>(); raisePopupSubscriptionToken = eventAggregator.GetEvent <RaisePopupEvent>().Subscribe(RaisePopup, false); }
public PMCatcherService() { licenseService = ServiceLocator.Current.GetInstance <ILicenseService>(); settingsService = ServiceLocator.Current.GetInstance <IPMSettingsService>(); }