A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Class CacheElement

Class representing the Cache configuration element

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