コード例 #1
0
 public ContainersController(
     BlobServiceOptions options,
     ILoggerFactory loggerFactory,
     IBlobMetaDataStore blobMetaDataStore,
     IContainerStore containerStore,
     IStorageService storageService)
 {
     _options           = options ?? throw new ArgumentNullException(nameof(options));
     _logger            = loggerFactory?.CreateLogger <ContainersController>() ?? throw new ArgumentNullException(nameof(loggerFactory));
     _containerStore    = containerStore ?? throw new ArgumentNullException(nameof(containerStore));
     _blobMetaDataStore = blobMetaDataStore ?? throw new ArgumentNullException(nameof(blobMetaDataStore));
     _storageService    = storageService ?? throw new ArgumentNullException(nameof(storageService));
 }