Interface IBlobProviderRegistry
An registry where BlobProvider can be registered, retrieved and removed.
Namespace: EPiServer.Framework.Blobs
Assembly: EPiServer.Framework.dll
Version: 9.12.2Syntax
public interface IBlobProviderRegistry
Properties
DefaultProvider
Gets or sets the name of the default BlobProvider.
Declaration
string DefaultProvider { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
AddProvider(BlobProvider)
Adds a BlobProvider to the registry
Declaration
void AddProvider(BlobProvider provider)
Parameters
Type | Name | Description |
---|---|---|
BlobProvider | provider | The provider to register |
GetProvider(Uri)
Get the provider from the registry that matches the provided blob authority
Declaration
BlobProvider GetProvider(Uri id)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | id | A blob identifier |
Returns
Type | Description |
---|---|
BlobProvider | A blob provider |
RemoveProvider(String)
Remove a a BlobProvider from the registry.
Declaration
bool RemoveProvider(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name of the provider (also used as authority in blob ID) |
Returns
Type | Description |
---|---|
System.Boolean | Returns |
Remarks
Provider names are not case sensitive