PostSharp 5.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Caching.​Backends Namespace / Two­Layer­Cache­Value Class

TwoLayerCacheValue Class

The object stored in the remote class.
Inheritance Hierarchy
System.Object
  PostSharp.Patterns.Caching.Backends.TwoLayerCacheValue

Namespace:  PostSharp.Patterns.Caching.Backends
Assembly:  PostSharp.Patterns.Caching (in PostSharp.Patterns.Caching.dll) Version: 5.0.55.0 (5.0.55.0)
Syntax
C#
[SerializableAttribute]
public sealed class TwoLayerCacheValue

The TwoLayerCacheValue type exposes the following members.

Constructors
  NameDescription
Public methodTwoLayerCacheValue
Initializes a new TwoLayerCacheValue.
Properties
  NameDescription
Public propertyAbsoluteExpiration
Gets or sets the absolute expiration of the cache item.
Public propertyPriority
Gets or sets the cache item priority.
Public propertySlidingExpiration
Gets or sets the sliding expiration of the cache item.
Public propertyTimestamp
Gets or sets the timestamp of the cache item.
Public propertyValue
Gets or sets the cached value.
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
See Also