public PopulationReportService()
 {
     dataService = ServiceLocator.Current.GetInstance <IDataService>();
     playerStatisticRepository = ServiceLocator.Current.GetInstance <IPlayerStatisticRepository>();
     hudPlayerTypeService      = ServiceLocator.Current.GetInstance <IHudPlayerTypeService>();
     storageModel = ServiceLocator.Current.GetInstance <SingletonStorageModel>();
 }
示例#2
0
        public HudPlayerSettingsViewModel(HudPlayerSettingsViewModelInfo viewModelInfo) : base()
        {
            Check.ArgumentNotNull(() => viewModelInfo);

            this.viewModelInfo = viewModelInfo;

            hudLayoutService  = ServiceLocator.Current.GetInstance <IHudLayoutsService>();
            playerTypeService = ServiceLocator.Current.GetInstance <IHudPlayerTypeService>();

            Initialize();
        }