Пример #1
0
 public SettingsPageViewModel(
     INavigationService navigationService,
     ILoggerService loggerService,
     IUserDataRepository userDataRepository,
     IExposureDataRepository exposureDataRepository,
     IExposureConfigurationRepository exposureConfigurationRepository,
     ISendEventLogStateRepository sendEventLogStateRepository,
     IEventLogRepository eventLogRepository,
     ILogFileService logFileService,
     AbsExposureNotificationApiService exposureNotificationApiService,
     ICloseApplicationService closeApplicationService,
     IEssentialsService essentialsService
     ) : base(navigationService)
 {
     Title                                = AppResources.SettingsPageTitle;
     AppVer                               = essentialsService.AppVersion;
     this.loggerService                   = loggerService;
     this.userDataRepository              = userDataRepository;
     this.exposureDataRepository          = exposureDataRepository;
     this.exposureConfigurationRepository = exposureConfigurationRepository;
     _sendEventLogStateRepository         = sendEventLogStateRepository;
     _eventLogRepository                  = eventLogRepository;
     this.logFileService                  = logFileService;
     this.exposureNotificationApiService  = exposureNotificationApiService;
     this.closeApplicationService         = closeApplicationService;
 }
Пример #2
0
 public ExposureDetectionService
 (
     ILoggerService loggerService,
     IUserDataRepository userDataRepository,
     IExposureDataRepository exposureDataRepository,
     ILocalNotificationService localNotificationService,
     IExposureRiskCalculationConfigurationRepository exposureRiskCalculationConfigurationRepository,
     IExposureRiskCalculationService exposureRiskCalculationService,
     IExposureConfigurationRepository exposureConfigurationRepository,
     IEventLogService eventLogService,
     IDebugExposureDataCollectServer exposureDataCollectServer,
     IDateTimeUtility dateTimeUtility,
     IDeviceInfoUtility deviceInfoUtility
 )
 {
     _loggerService                  = loggerService;
     _userDataRepository             = userDataRepository;
     _exposureDataRepository         = exposureDataRepository;
     _localNotificationService       = localNotificationService;
     _exposureRiskCalculationService = exposureRiskCalculationService;
     _exposureRiskCalculationConfigurationRepository = exposureRiskCalculationConfigurationRepository;
     _exposureConfigurationRepository = exposureConfigurationRepository;
     _eventLogService           = eventLogService;
     _exposureDataCollectServer = exposureDataCollectServer;
     _dateTimeUtility           = dateTimeUtility;
     _deviceInfoUtility         = deviceInfoUtility;
 }
Пример #3
0
        public HomePageViewModel(
            INavigationService navigationService,
            ILoggerService loggerService,
            IUserDataRepository userDataRepository,
            IExposureDataRepository exposureDataRepository,
            IExposureRiskCalculationService exposureRiskCalculationService,
            AbsExposureNotificationApiService exposureNotificationApiService,
            ILocalNotificationService localNotificationService,
            AbsExposureDetectionBackgroundService exposureDetectionBackgroundService,
            IExposureConfigurationRepository exposureConfigurationRepository,
            IExposureRiskCalculationConfigurationRepository exposureRiskCalculationConfigurationRepository,
            ICheckVersionService checkVersionService,
            IEssentialsService essentialsService,
            IDialogService dialogService,
            IExternalNavigationService externalNavigationService
            ) : base(navigationService)
        {
            Title = AppResources.HomePageTitle;

            this.loggerService                                  = loggerService;
            this._userDataRepository                            = userDataRepository;
            this._exposureDataRepository                        = exposureDataRepository;
            this._exposureRiskCalculationService                = exposureRiskCalculationService;
            this.exposureNotificationApiService                 = exposureNotificationApiService;
            this.localNotificationService                       = localNotificationService;
            this.exposureDetectionBackgroundService             = exposureDetectionBackgroundService;
            this.exposureConfigurationRepository                = exposureConfigurationRepository;
            this.exposureRiskCalculationConfigurationRepository = exposureRiskCalculationConfigurationRepository;
            this.checkVersionService                            = checkVersionService;
            this.essentialsService                              = essentialsService;
            this.dialogService                                  = dialogService;
            this.externalNavigationService                      = externalNavigationService;
        }
Пример #4
0
 public DebugPageViewModel(
     INavigationService navigationService,
     ITermsUpdateService termsUpdateService,
     IExposureConfigurationRepository exposureConfigurationRepository,
     IUserDataRepository userDataRepository,
     IExposureDataRepository exposureDataRepository,
     AbsExposureNotificationApiService exposureNotificationApiService,
     AbsExposureDetectionBackgroundService exposureDetectionBackgroundService,
     ICloseApplicationService closeApplicationService,
     IServerConfigurationRepository serverConfigurationRepository,
     ILocalNotificationService localNotificationService,
     ISendEventLogStateRepository sendEventLogStateRepository,
     IEventLogRepository eventLogRepository,
     IEventLogService eventLogService
     ) : base(navigationService)
 {
     Title = "Title:Debug";
     _termsUpdateService = termsUpdateService;
     _exposureConfigurationRepository = exposureConfigurationRepository;
     _userDataRepository                 = userDataRepository;
     _exposureDataRepository             = exposureDataRepository;
     _exposureNotificationApiService     = exposureNotificationApiService;
     _exposureDetectionBackgroundService = exposureDetectionBackgroundService;
     _closeApplicationService            = closeApplicationService;
     _serverConfigurationRepository      = serverConfigurationRepository;
     _localNotificationService           = localNotificationService;
     _sendEventLogStateRepository        = sendEventLogStateRepository;
     _eventLogRepository                 = eventLogRepository;
     _eventLogService = eventLogService;
 }
Пример #5
0
 public ExposureDataExportService(
     ILoggerService loggerService,
     IExposureDataRepository exposureDataRepository,
     IExposureConfigurationRepository exposureConfigurationRepository,
     AbsExposureNotificationApiService exposureNotificationApiService,
     IEssentialsService essentialsService
     )
 {
     _loggerService                   = loggerService;
     _exposureDataRepository          = exposureDataRepository;
     _exposureConfigurationRepository = exposureConfigurationRepository;
     _exposureNotificationApiService  = exposureNotificationApiService;
     _essentialsService               = essentialsService;
 }
 public AbsExposureDetectionBackgroundService(
     IDiagnosisKeyRepository diagnosisKeyRepository,
     AbsExposureNotificationApiService exposureNotificationApiService,
     IExposureConfigurationRepository exposureConfigurationRepository,
     ILoggerService loggerService,
     IUserDataRepository userDataRepository,
     IServerConfigurationRepository serverConfigurationRepository,
     ILocalPathService localPathService,
     IDateTimeUtility dateTimeUtility
     )
 {
     _diagnosisKeyRepository          = diagnosisKeyRepository;
     _exposureNotificationApiService  = exposureNotificationApiService;
     _exposureConfigurationRepository = exposureConfigurationRepository;
     _loggerService                 = loggerService;
     _userDataRepository            = userDataRepository;
     _serverConfigurationRepository = serverConfigurationRepository;
     _localPathService              = localPathService;
     _dateTimeUtility               = dateTimeUtility;
 }
Пример #7
0
 public SettingsPageViewModel(
     INavigationService navigationService,
     ILoggerService loggerService,
     IUserDataRepository userDataRepository,
     IExposureDataRepository exposureDataRepository,
     IExposureConfigurationRepository exposureConfigurationRepository,
     ILogFileService logFileService,
     AbsExposureNotificationApiService exposureNotificationApiService,
     ICloseApplicationService closeApplicationService
     ) : base(navigationService)
 {
     Title                                = AppResources.SettingsPageTitle;
     AppVer                               = AppInfo.VersionString;
     this.loggerService                   = loggerService;
     this.userDataRepository              = userDataRepository;
     this.exposureDataRepository          = exposureDataRepository;
     this.exposureConfigurationRepository = exposureConfigurationRepository;
     this.logFileService                  = logFileService;
     this.exposureNotificationApiService  = exposureNotificationApiService;
     this.closeApplicationService         = closeApplicationService;
 }
Пример #8
0
 public ExposureDetectionBackgroundServiceMock(
     IDiagnosisKeyRepository diagnosisKeyRepository,
     AbsExposureNotificationApiService exposureNotificationApiService,
     IExposureConfigurationRepository exposureConfigurationRepository,
     ILoggerService loggerService,
     IUserDataRepository userDataRepository,
     IServerConfigurationRepository serverConfigurationRepository,
     ILocalPathService localPathService,
     IDateTimeUtility dateTimeUtility
     ) : base(
         diagnosisKeyRepository,
         exposureNotificationApiService,
         exposureConfigurationRepository,
         loggerService,
         userDataRepository,
         serverConfigurationRepository,
         localPathService,
         dateTimeUtility
         )
 {
 }
Пример #9
0
 public ExposureDetectionService
 (
     ILoggerService loggerService,
     ISendEventLogStateRepository sendEventLogStateRepository,
     IExposureDataRepository exposureDataRepository,
     ILocalNotificationService localNotificationService,
     IExposureRiskCalculationConfigurationRepository exposureRiskCalculationConfigurationRepository,
     IExposureRiskCalculationService exposureRiskCalculationService,
     IExposureConfigurationRepository exposureConfigurationRepository,
     IEventLogRepository eventLogRepository,
     IDateTimeUtility dateTimeUtility
 )
 {
     _loggerService = loggerService;
     _sendEventLogStateRepository    = sendEventLogStateRepository;
     _exposureDataRepository         = exposureDataRepository;
     _localNotificationService       = localNotificationService;
     _exposureRiskCalculationService = exposureRiskCalculationService;
     _exposureRiskCalculationConfigurationRepository = exposureRiskCalculationConfigurationRepository;
     _exposureConfigurationRepository = exposureConfigurationRepository;
     _eventLogRepository = eventLogRepository;
     _dateTimeUtility    = dateTimeUtility;
 }