Class BlobProvidersOptions
Specifies how the blob system should be setup
Inheritance
System.Object
BlobProvidersOptions
Namespace: EPiServer.Framework.Blobs
Assembly: EPiServer.Framework.dll
Version: 12.0.3Syntax
[Options(ConfigurationSection = "Cms")]
public class BlobProvidersOptions : Object
Constructors
BlobProvidersOptions()
Declaration
public BlobProvidersOptions()
Properties
BlobProviderBuilder
Blob provider builder.
Declaration
public Build BlobProviderBuilder { get; set; }
Property Value
Type | Description |
---|---|
Build |
DefaultProvider
The name of the default Blob
Declaration
public string DefaultProvider { get; set; }
Property Value
Type | Description |
---|---|
System. |
Providers
List of providers name and type.
Declaration
public IDictionary<string, string> Providers { get; }
Property Value
Type | Description |
---|---|
System. |
Methods
AddProvider(String, String)
Adds a named provider of specified type.
Declaration
public void AddProvider(string name, string type)
Parameters
Type | Name | Description |
---|---|---|
System. |
name | The name of the provider |
System. |
type | The type of provider |
AddProvider<TProvider>(String)
Add provider to providers.
Declaration
public void AddProvider<TProvider>(string name)
where TProvider : BlobProvider
Parameters
Type | Name | Description |
---|---|---|
System. |
name | The name of Provider |
Type Parameters
Name | Description |
---|---|
TProvider | The provider. |