public DatabaseAuxiliaryDataFetcher( ISqlConnectionFactory <GalleryDbConfiguration> connectionFactory, IEntitiesContextFactory entitiesContextFactory, IAzureSearchTelemetryService telemetryService, ILogger <DatabaseAuxiliaryDataFetcher> logger) { _connectionFactory = connectionFactory ?? throw new ArgumentNullException(nameof(connectionFactory)); _entitiesContextFactory = entitiesContextFactory ?? throw new ArgumentNullException(nameof(entitiesContextFactory)); _telemetryService = telemetryService ?? throw new ArgumentNullException(nameof(telemetryService)); _logger = logger; }
public NewPackageRegistrationProducer( IEntitiesContextFactory contextFactory, IAuxiliaryFileClient auxiliaryFileClient, IOptionsSnapshot <Db2AzureSearchConfiguration> options, IOptionsSnapshot <Db2AzureSearchDevelopmentConfiguration> developmentOptions, ILogger <NewPackageRegistrationProducer> logger) { _contextFactory = contextFactory ?? throw new ArgumentNullException(nameof(contextFactory)); _options = options ?? throw new ArgumentNullException(nameof(options)); _developmentOptions = developmentOptions ?? throw new ArgumentNullException(nameof(developmentOptions)); _auxiliaryFileClient = auxiliaryFileClient ?? throw new ArgumentNullException(nameof(auxiliaryFileClient)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); }
public NewPackageRegistrationProducer( IEntitiesContextFactory contextFactory, IAuxiliaryFileClient auxiliaryFileClient, IDatabaseAuxiliaryDataFetcher databaseFetcher, IDownloadTransferrer downloadTransferrer, IFeatureFlagService featureFlags, IOptionsSnapshot <Db2AzureSearchConfiguration> options, IOptionsSnapshot <Db2AzureSearchDevelopmentConfiguration> developmentOptions, ILogger <NewPackageRegistrationProducer> logger) { _contextFactory = contextFactory ?? throw new ArgumentNullException(nameof(contextFactory)); _auxiliaryFileClient = auxiliaryFileClient ?? throw new ArgumentNullException(nameof(auxiliaryFileClient)); _databaseFetcher = databaseFetcher ?? throw new ArgumentNullException(nameof(databaseFetcher)); _downloadTransferrer = downloadTransferrer ?? throw new ArgumentNullException(nameof(downloadTransferrer)); _featureFlags = featureFlags ?? throw new ArgumentNullException(nameof(featureFlags)); _options = options ?? throw new ArgumentNullException(nameof(options)); _developmentOptions = developmentOptions ?? throw new ArgumentNullException(nameof(developmentOptions)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); }