SaaS CMS has officially launched! Learn more now.

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.3
Syntax
[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 BlobProvider. This provider will be used if no specific provider has been specified.

Declaration
public string DefaultProvider { get; set; }
Property Value
Type Description
System.String

Providers

List of providers name and type.

Declaration
public IDictionary<string, string> Providers { get; }
Property Value
Type Description
System.Collections.Generic.IDictionary<System.String, System.String>

Methods

AddProvider(String, String)

Adds a named provider of specified type.

Declaration
public void AddProvider(string name, string type)
Parameters
Type Name Description
System.String name

The name of the provider

System.String 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.String name

The name of Provider

Type Parameters
Name Description
TProvider

The provider.

Extension Methods