public SASController( BlobServiceOptions options, ILoggerFactory loggerFactory, ISASStore sasStore, IContainerStore containerStore, IBlobStore blobStore) { _options = options ?? throw new ArgumentNullException(nameof(options)); _logger = loggerFactory?.CreateLogger <ContainersController>() ?? throw new ArgumentNullException(nameof(loggerFactory)); _sasStore = sasStore ?? throw new ArgumentNullException(nameof(sasStore)); _containerStore = containerStore ?? throw new ArgumentNullException(nameof(containerStore)); _blobStore = blobStore ?? throw new ArgumentNullException(nameof(blobStore)); }
public BlobMetaDataController( BlobServiceOptions options, ILoggerFactory loggerFactory, IStorageService storageService, IBlobStore blobStore, IBlobMetaDataStore blobMetaDataStore, IContainerStore containerStore) { _options = options ?? throw new ArgumentNullException(nameof(options)); _logger = loggerFactory?.CreateLogger <BlobsController>() ?? throw new ArgumentNullException(nameof(loggerFactory)); _storageService = storageService ?? throw new ArgumentNullException(nameof(storageService)); _blobStore = blobStore ?? throw new ArgumentNullException(nameof(blobStore)); _blobMetaDataStore = blobMetaDataStore ?? throw new ArgumentNullException(nameof(blobMetaDataStore)); _containerStore = containerStore ?? throw new ArgumentNullException(nameof(containerStore)); }