Esempio n. 1
0
        public AnalyticsService(
            IPreferenceRepository preferenceRepository,
            IWowUpApiService wowUpApiService)
        {
            _preferenceRepository = preferenceRepository;
            _wowUpApiService      = wowUpApiService;

            preferenceRepository.PreferenceUpdated += PreferenceRepository_PreferenceUpdated;

            InstallId = GetInstallId();
        }
Esempio n. 2
0
        public WowUpService(
            ICacheService cacheService,
            IPreferenceRepository preferenceRepository,
            IServiceProvider serviceProvider,
            IWowUpApiService wowUpApiService)
        {
            _cacheService         = cacheService;
            _serviceProvider      = serviceProvider;
            _preferenceRepository = preferenceRepository;
            _wowUpApiService      = wowUpApiService;

            SetDefaultPreferences();
        }
Esempio n. 3
0
        public WowUpService(
            ICacheService cacheService,
            IDownloadService downloadService,
            IPreferenceRepository preferenceRepository,
            IWowUpApiService wowUpApiService)
        {
            _cacheService         = cacheService;
            _downloadService      = downloadService;
            _preferenceRepository = preferenceRepository;
            _wowUpApiService      = wowUpApiService;

            SetDefaultPreferences();
        }