Пример #1
0
 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));
 }
Пример #2
0
 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));
 }