Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Class CacheElement

Class representing the Cache configuration element

Inheritance
System.Object
CacheElement
Namespace: EPiServer.Data.Configuration
Assembly: EPiServer.Data.dll
Version: 7.19.2
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