PostSharp.ILAPI ReferencePost­Sharp.​Patterns.​Caching.​ImplementationCaching­Backend­EnhancerSet­Item­Core
Open sandboxFocus

CachingBackendEnhancer.SetItemCore Method

SetItemCore(String, CacheItem)

Sets a cache item. This protected method is part of the implementation API and is meant to be overridden in user code, not invoked. Arguments are already validated by the consumer API.

Declaration
protected override void SetItemCore(string key, CacheItem item)
Parameters
Type Name Description
String key

The key of the cache item.

CacheItem item

The cache item.

Overrides
CachingBackend.SetItemCore(String, CacheItem)