PostSharpAPI ReferencePost­Sharp.​Patterns.​Caching.​ImplementationCache­Value
Open sandboxFocus

CacheValue Class

Return value of the GetItem(String, Boolean) method, i.e. represents an item retrieved from the cache (items being stored in the cache are represented by the CacheItem class).

Inheritance
CacheValue
Namespace: PostSharp.Patterns.Caching.Implementation
Assembly: PostSharp.Patterns.Caching.dll
Syntax
public class CacheValue : Object

Constructors

Name Description
CacheValue(Object, IImmutableList<String>)

Initializes a new CacheValue.

Properties

Name Description
Dependencies

Gets the list of dependencies of the cache.

Value

Gets the cached value.

Methods

Name Description
WithValue(Object)

Returns a new CacheValue with different Value but identical Dependencies.