PostSharp//API Reference/Post­Sharp.​Patterns.​Caching.​Implementation/Caching­Backend/Set­Item
Open sandboxFocus

Method SetItem

SetItem(String, CacheItem)

Sets a cache item.

Declaration
public void SetItem([Required] string key, [Required] CacheItem item)
Parameters
Type Name Description
String key

The key of the cache item.

CacheItem item

The cache item.