public BlobStorageService(IBlobStorageServiceConfiguration blobStorageServiceConfiguration,
                                  BlobServiceClient blobServiceClient)
        {
            _blobStorageServiceConfiguration = blobStorageServiceConfiguration
                                               ?? throw new ArgumentNullException(nameof(blobStorageServiceConfiguration));

            _blobServiceClient = blobServiceClient
                                 ?? throw new ArgumentNullException(nameof(blobServiceClient));
        }
Ejemplo n.º 2
0
 public BlobStorageService(IBlobStorageServiceConfiguration blobStorageServiceConfiguration,
                           BlobServiceClient blobServiceClient,
                           ILogger <BlobStorageService> log)
 {
     _blobStorageServiceConfiguration = blobStorageServiceConfiguration
                                        ?? throw new ArgumentNullException(nameof(blobStorageServiceConfiguration));
     _blobServiceClient = blobServiceClient
                          ?? throw new ArgumentNullException(nameof(blobServiceClient));
     _log = log
            ?? throw new ArgumentNullException(nameof(log));
 }