public Initializer_1_0_0( IApplicationPropertyService applicationPropertyService, ILoggerService loggerService ) { _applicationPropertyService = applicationPropertyService; _loggerService = loggerService; }
public UserDataService(IHttpDataService httpDataService, ILoggerService loggerService, IPreferencesService preferencesService, ITermsUpdateService termsUpdateService, IExposureNotificationService exposureNotificationService, IApplicationPropertyService applicationPropertyService) { this.httpDataService = httpDataService; this.loggerService = loggerService; this.preferencesService = preferencesService; this.termsUpdateService = termsUpdateService; this.exposureNotificationService = exposureNotificationService; this.applicationPropertyService = applicationPropertyService; }
public ExposureNotificationService(ILoggerService loggerService, IHttpClientService httpClientService, ISecureStorageService secureStorageService, IPreferencesService preferencesService, IApplicationPropertyService applicationPropertyService) { this.loggerService = loggerService; this.httpClientService = httpClientService; this.secureStorageService = secureStorageService; this.preferencesService = preferencesService; this.applicationPropertyService = applicationPropertyService; _ = GetExposureNotificationConfig(); }
public Migrator_1_2_2( IApplicationPropertyService applicationPropertyService, IPreferencesService preferencesService, ISecureStorageService secureStorageService, ILoggerService loggerService ) { _applicationPropertyService = applicationPropertyService; _preferencesService = preferencesService; _secureStorageService = secureStorageService; _loggerService = loggerService; }
public MigrationService( IMigrationProcessService platformMigrationProcessService, IApplicationPropertyService applicationPropertyService, IPreferencesService preferencesService, ISecureStorageService secureStorageService, IEssentialsService essentialsService, ILoggerService loggerService ) { _platformMigrationProcessService = platformMigrationProcessService; _applicationPropertyService = applicationPropertyService; _preferencesService = preferencesService; _secureStorageService = secureStorageService; _essentialsService = essentialsService; _loggerService = loggerService; }
public HttpDataService(ILoggerService loggerService, IHttpClientService httpClientService, ISecureStorageService secureStorageService, IApplicationPropertyService applicationPropertyService) { this.loggerService = loggerService; this.secureStorageService = secureStorageService; this.applicationPropertyService = applicationPropertyService; // Create API key based client. apiClient = httpClientService.Create(); apiClient.BaseAddress = new Uri(AppSettings.Instance.ApiUrlBase); apiClient.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json")); apiClient.DefaultRequestHeaders.Add("x-functions-key", AppSettings.Instance.ApiSecret); apiClient.DefaultRequestHeaders.Add("x-api-key", AppSettings.Instance.ApiKey); // Create client. httpClient = httpClientService.Create(); httpClient.BaseAddress = new Uri(AppSettings.Instance.ApiUrlBase); httpClient.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json")); httpClient.DefaultRequestHeaders.Add("x-functions-key", AppSettings.Instance.ApiSecret); // Create download client. downloadClient = httpClientService.Create(); }
public TermsUpdateService(ILoggerService loggerService, IApplicationPropertyService applicationPropertyService, IPreferencesService preferencesService) { this.loggerService = loggerService; this.applicationPropertyService = applicationPropertyService; this.preferencesService = preferencesService; }