public ZipFileService(IOptions <HangfireConfig> configuration, IPackageBuilderService packageBuilder, IZipFileInfoService zipFileInfoService, IFileSystem fileSystem) { _fileSystem = fileSystem; _rootZipFilesFolders = configuration.Value.ZipFilesFolders; _packageBuilder = packageBuilder; _zipFileInfoService = zipFileInfoService; }
public ZipFileService(HangfireConfig hangfireConfig, IPackageBuilderService packageBuilder, IZipFileInfoService zipFileInfoService, IFileSystem fileSystem) { _fileSystem = fileSystem; _rootZipFilesFolders = hangfireConfig.ZipFilesFolders; _originCountryCode = hangfireConfig.OriginCountryCode; _packageBuilder = packageBuilder; _zipFileInfoService = zipFileInfoService; }
public CacheOperationsV3(IMemoryCache memoryCache, IConfiguration configuration, ILogger <CacheOperationsV3> logger, IZipFileInfoService zipFileInfoService) { _zipFileInfoService = zipFileInfoService; _logger = logger; _memoryCache = memoryCache; _configuration = configuration; _fileCachingTimespan = TimeSpan.Parse(_configuration["AppSettings:PreviousDayFileCaching"]); _lockTaken = false; }
public DiagnosticKeysControllerV2( ILogger <DiagnosticKeysControllerV2> logger, IConfiguration configuration, IExposureKeyValidator exposureKeyValidator, IExposureConfigurationService exposureConfigurationService, KeyValidationConfiguration keyValidationConfig, IAddTemporaryExposureKeyService addTemporaryExposureKeyService, IZipFileInfoService zipFileInfoService) { _configuration = configuration; _exposureKeyValidator = exposureKeyValidator; _logger = logger; _zipFileInfoService = zipFileInfoService; _exposureConfigurationService = exposureConfigurationService; _keyValidationConfig = keyValidationConfig; _addTemporaryExposureKeyService = addTemporaryExposureKeyService; }
public DiagnosticKeyControllerV3( ILogger <DiagnosticKeyControllerV3> logger, IExposureConfigurationService exposureConfigurationService, IAddTemporaryExposureKeyService addTemporaryExposureKeyService, IZipFileInfoService zipFileInfoService, AppSettingsConfig appSettingsConfig, ICacheOperationsV3 cacheOperations, IExposureKeyReader exposureKeyReader) { _cacheOperations = cacheOperations; _logger = logger; _zipFileInfoService = zipFileInfoService; _appSettingsConfig = appSettingsConfig; _exposureConfigurationService = exposureConfigurationService; _addTemporaryExposureKeyService = addTemporaryExposureKeyService; _exposureKeyReader = exposureKeyReader; }
public RemoveOldZipFilesJob(IFileSystem fileSystem, IZipFileInfoService zipFileInfoService) { _zipFileInfoService = zipFileInfoService; _fileSystem = fileSystem; }
public void Init() { _fileSystem = new FileSystemMockFactory().GetMock(); _fileInfoService = new ZipFileInfoService(_fileSystem.Object); }