PostSharpAPI ReferencePost­Sharp.​Patterns.​Caching.​BackendsTwo­Layer­Caching­Backend­EnhancerSet­Item­Core
Open sandboxFocus

TwoLayerCachingBackendEnhancer.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
CachingBackendEnhancer.SetItemCore(String, CacheItem)