Interface IBlobProviderRegistry
An registry where Blob
Namespace: EPiServer.Framework.Blobs
Assembly: EPiServer.Framework.dll
Version: 12.0.3Syntax
public interface IBlobProviderRegistry
Properties
DefaultProvider
Gets or sets the name of the default Blob
Declaration
string DefaultProvider { get; set; }
Property Value
Type | Description |
---|---|
System. |
Methods
AddProvider(BlobProvider)
Adds a Blob
Declaration
void AddProvider(BlobProvider provider)
Parameters
Type | Name | Description |
---|---|---|
Blob |
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. |
id | A blob identifier |
Returns
Type | Description |
---|---|
Blob |
A blob provider |
RemoveProvider(String)
Remove a a Blob
Declaration
bool RemoveProvider(string name)
Parameters
Type | Name | Description |
---|---|---|
System. |
name | The name of the provider (also used as authority in blob ID) |
Returns
Type | Description |
---|---|
System. |
Returns |
Remarks
Provider names are not case sensitive