public IBlobContentStorageProvider CreateProvider(string basePath) { var clonedOptions = _options.Clone() as AzureContentBlobOptions; clonedOptions.RootPath = UrlHelperExtensions.Combine(clonedOptions.RootPath, basePath); return(new AzureContentBlobStorageProvider(new OptionsWrapper <AzureContentBlobOptions>(clonedOptions), _platformOptions, _settingsManager)); }
public IBlobContentStorageProvider CreateProvider(string basePath) { var clonedOptions = _options.Clone() as AzureContentBlobOptions; clonedOptions.RootPath = Path.Combine(clonedOptions.RootPath, basePath); return(new AzureContentBlobStorageProvider(new OptionsWrapper <AzureContentBlobOptions>(clonedOptions))); }