public AnalyticsService( IPreferenceRepository preferenceRepository, IWowUpApiService wowUpApiService) { _preferenceRepository = preferenceRepository; _wowUpApiService = wowUpApiService; preferenceRepository.PreferenceUpdated += PreferenceRepository_PreferenceUpdated; InstallId = GetInstallId(); }
public WowUpService( ICacheService cacheService, IPreferenceRepository preferenceRepository, IServiceProvider serviceProvider, IWowUpApiService wowUpApiService) { _cacheService = cacheService; _serviceProvider = serviceProvider; _preferenceRepository = preferenceRepository; _wowUpApiService = wowUpApiService; SetDefaultPreferences(); }
public WowUpService( ICacheService cacheService, IDownloadService downloadService, IPreferenceRepository preferenceRepository, IWowUpApiService wowUpApiService) { _cacheService = cacheService; _downloadService = downloadService; _preferenceRepository = preferenceRepository; _wowUpApiService = wowUpApiService; SetDefaultPreferences(); }