Class NullCacheProvider

Null Cache Provider for Dynamic Data Store. Should be used when caching isn't required

Inheritance
System.Object
NullCacheProvider
Namespace: EPiServer.Data.Cache
Assembly: EPiServer.Data.dll
Version: 8.11.0
Syntax
public class NullCacheProvider : CacheProvider, IExternalCacheHandler

Constructors

NullCacheProvider()

Declaration
public NullCacheProvider()

Properties

ExternalCacheHandler

Declaration
protected override IExternalCacheHandler ExternalCacheHandler { get; }
Property Value
Type Description
IExternalCacheHandler
Overrides

Methods

ClearAllCore()

Declaration
protected override void ClearAllCore()
Overrides

ClearStoreCore(String)

Declaration
protected override void ClearStoreCore(string storeName)
Parameters
Type Name Description
System.String storeName
Overrides

GetCore(String)

Declaration
protected override CacheItem GetCore(string key)
Parameters
Type Name Description
System.String key
Returns
Type Description
CacheItem
Overrides

InsertCore(String, CacheItem)

Declaration
protected override void InsertCore(string key, CacheItem value)
Parameters
Type Name Description
System.String key
CacheItem value
Overrides

RemoveCore(String)

Declaration
protected override void RemoveCore(string key)
Parameters
Type Name Description
System.String key
Overrides

Send(CacheChangedEventArgs)

Declaration
public void Send(CacheChangedEventArgs eventData)
Parameters
Type Name Description
CacheChangedEventArgs eventData

Events

CacheChanged

Declaration
public event EventHandler<CacheChangedEventArgs> CacheChanged
Event Type
Type Description
System.EventHandler<CacheChangedEventArgs>

Implements

Extension Methods