public TemporaryExposureKeyDeleteBatchService( IConfiguration config, ITemporaryExposureKeyRepository tek, ITemporaryExposureKeyExportRepository tekExport, ITemporaryExposureKeyBlobService blobService, ILogger <TemporaryExposureKeyDeleteBatchService> logger) { Logger = logger; Logger.LogInformation($"{nameof(TemporaryExposureKeyDeleteBatchService)} constructor"); TekRepository = tek; TekExportRepository = tekExport; BlobService = blobService; }
public TemporaryExposureKeysApi( IConfiguration config, ITemporaryExposureKeyExportRepository tekExportRepository, IValidationServerService validationServerService, ILogger <TemporaryExposureKeysApi> logger ) { Logger = logger; TekExport = tekExportRepository; ExportKeyUrl = config.ExportKeyUrl(); TekExportBlobStorageContainerPrefix = config.TekExportBlobStorageContainerPrefix(); ValidationServerService = validationServerService; }
public TemporaryExposureKeyExportBatchService( IConfiguration config, ITemporaryExposureKeyRepository tek, ITemporaryExposureKeyExportRepository tekExport, ITemporaryExposureKeySignService signService, ITemporaryExposureKeySignatureInfoService signatureService, ITemporaryExposureKeyBlobService blobService, ILogger <TemporaryExposureKeyExportBatchService> logger) { TekRepository = tek; TekExportRepository = tekExport; SignService = signService; SignatureService = signatureService; BlobService = blobService; Logger = logger; }
public TemporaryExposureKeyService(IConfiguration config, ITemporaryExposureKeyRepository tek, ITemporaryExposureKeyExportRepository tekExport, ITemporaryExposureKeySignService signService, ITemporaryExposureKeySignatureInfoService signatureService, ILogger <TemporaryExposureKeyService> logger) { TekExportBlobStorageConnectionString = config["TekExportBlobStorage"]; TekExportBlobStorageContainerPrefix = config["TekExportBlobStorageContainerPrefix"]; TekRepository = tek; TekExportRepository = tekExport; SignService = signService; SignatureService = signatureService; Logger = logger; StorageAccount = CloudStorageAccount.Parse(TekExportBlobStorageConnectionString); BlobClient = StorageAccount.CreateCloudBlobClient(); }
public TemporaryExposureKeyExportBatchService( IConfiguration config, ITemporaryExposureKeyRepository tek, ITemporaryExposureKeyExportRepository tekExport, ITemporaryExposureKeySignService signService, ITemporaryExposureKeySignatureInfoService signatureService, ITemporaryExposureKeyBlobService blobService, ILogger <TemporaryExposureKeyExportBatchService> logger) { Logger = logger; Logger.LogInformation($"{nameof(TemporaryExposureKeyExportBatchService)} constructor"); TekRepository = tek; TekExportRepository = tekExport; SignService = signService; SignatureService = signatureService; BlobService = blobService; Regions = config.SupportRegions(); }