PostSharp6.4/API Reference/Post­Sharp.​Patterns.​Caching.​Implementation Namespace/Cache­Value Class

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 Hierarchy
System.Object
  PostSharp.Patterns.Caching.Implementation.CacheValue

Namespace:  PostSharp.Patterns.Caching.Implementation
Assembly:  PostSharp.Patterns.Caching (in PostSharp.Patterns.Caching.dll) Version: 6.4.3.0 (6.4.3.0)
Syntax
C#
public class CacheValue

The CacheValue type exposes the following members.

Constructors
  NameDescription
Public methodCacheValue
Initializes a new CacheValue.
Properties
  NameDescription
Public propertyDependencies
Gets the list of dependencies of the cache.
Public propertyValue
Gets the cached value.
Methods
  NameDescription
Public methodWithValue
Returns a new CacheValue with different Value but identical Dependencies.
See Also