PostSharp6.1/API Reference/Post­Sharp.​Patterns.​Caching.​Implementation Namespace/Caching­Backend Class/Caching­Backend Methods/Caching­Backend.​Set­Item Method

CachingBackend.SetItem Method

Sets a cache item.

Namespace:  PostSharp.Patterns.Caching.Implementation
Assembly:  PostSharp.Patterns.Caching (in PostSharp.Patterns.Caching.dll) Version: 6.1.23.0 (6.1.23.0)
Syntax
C#
public void SetItem(
	string key,
	CacheItem item
)

Parameters

key
Type: System.String
The key of the cache item.
item
Type: PostSharp.Patterns.Caching.Implementation.CacheItem
The cache item.
See Also