public QboxDataDumpContextFactory(ILogger <QboxDataDumpContextFactory> logger, IMiniRetriever miniRetriever, IStorageProviderFactory storageProviderFactory) { _logger = logger ?? throw new ArgumentNullException(nameof(logger)); _miniRetriever = miniRetriever ?? throw new ArgumentNullException(nameof(miniRetriever)); _storageProviderFactory = storageProviderFactory ?? throw new ArgumentNullException(nameof(storageProviderFactory)); }
public ApiController(ILogger <ApiController> logger, IMiniRetriever miniRetriever, ISeriesRetriever seriesRetriever) { _logger = logger ?? throw new ArgumentNullException(nameof(logger)); _miniRetriever = miniRetriever ?? throw new ArgumentNullException(nameof(miniRetriever)); _seriesRetriever = seriesRetriever ?? throw new ArgumentNullException(nameof(seriesRetriever)); }