public CloudBlobClientFactory(
     IOptions <AzureStorageOptions> options,
     ILogger <CloudBlobClientFactory> logger)
 {
     _options = options.Value;
     _logger  = logger ?? throw new ArgumentNullException(nameof(logger));
 }
        public CloudTableClientFactory(
            IOptionsMonitor <AzureStorageOptions> optionsMonitor,
            ILogger <CloudTableClientFactory> logger)
        {
            _options = optionsMonitor.CurrentValue;

            optionsMonitor.OnChange(x => _options = x);
            _logger = logger ?? throw new ArgumentNullException(nameof(logger));
        }