Class CacheElement

Class representing the Cache configuration element

Inheritance
System.Object
CacheElement
Namespace: EPiServer.Data.Configuration
Assembly: EPiServer.Data.dll
Version: 8.11.0
Syntax
public class CacheElement : ConfigurationElement

Constructors

CacheElement()

Declaration
public CacheElement()

Properties

DefaultProvider

Gets the configured default provider

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

The default provider.

Providers

Gets the configured providers for the cache.

Declaration
public ProviderSettingsCollection Providers { get; }
Property Value
Type Description
System.Configuration.ProviderSettingsCollection

The providers.

Remarks

Only the provider given as defaultProvider will be instantiated

Extension Methods