public ReplayerTableConfigurator() { hudLayoutsService = ServiceLocator.Current.GetInstance <IHudLayoutsService>(); dataService = ServiceLocator.Current.GetInstance <IDataService>(); storageModel = ServiceLocator.Current.TryResolve <SingletonStorageModel>(); playerStatisticRepository = ServiceLocator.Current.GetInstance <IPlayerStatisticRepository>(); }
public PopulationReportService() { dataService = ServiceLocator.Current.GetInstance <IDataService>(); playerStatisticRepository = ServiceLocator.Current.GetInstance <IPlayerStatisticRepository>(); hudPlayerTypeService = ServiceLocator.Current.GetInstance <IHudPlayerTypeService>(); storageModel = ServiceLocator.Current.GetInstance <SingletonStorageModel>(); }
public OpponentReportService() { storageModel = ServiceLocator.Current.GetInstance <SingletonStorageModel>(); dataService = ServiceLocator.Current.GetInstance <IDataService>(); playerStatisticRepository = ServiceLocator.Current.GetInstance <IPlayerStatisticRepository>(); settingsService = ServiceLocator.Current.GetInstance <ISettingsService>(); }
public NoteProcessingService() { handHistoryParserFactory = ServiceLocator.Current.GetInstance <IHandHistoryParserFactory>(); storageModel = ServiceLocator.Current.TryResolve <SingletonStorageModel>(); licenseService = ServiceLocator.Current.GetInstance <ILicenseService>(); InitializeLimits(); }
public ReplayerViewModel() { dataService = ServiceLocator.Current.GetInstance <IDataService>(); settingsService = ServiceLocator.Current.GetInstance <ISettingsService>(); storageModel = ServiceLocator.Current.GetInstance <SingletonStorageModel>(); eventAggregator = ServiceLocator.Current.GetInstance <IEventAggregator>(); Initialize(); }
public PlayerXRayMainViewModel() { eventAggregator = ServiceLocator.Current.GetInstance <IEventAggregator>(); workspaces = new Dictionary <WorkspaceType, WorkspaceViewModel>(); storageModel = ServiceLocator.Current.TryResolve <SingletonStorageModel>(); raisePopupSubscriptionToken = eventAggregator.GetEvent <RaisePopupEvent>().Subscribe(RaisePopup, false); restoreDefaultsSubscriptionToken = eventAggregator.GetEvent <RestoreDefaultsEvent>().Subscribe(OnRestoreDefaults, false); }
public APIService() { dataService = ServiceLocator.Current.GetInstance <IDataService>(); storageModel = ServiceLocator.Current.GetInstance <SingletonStorageModel>(); playerStatisticRepository = ServiceLocator.Current.GetInstance <IPlayerStatisticRepository>(); }