PostSharp//API Reference/Post­Sharp.​Patterns.​Caching.​Value­Adapters/IValue­Adapter<T>/Get­Stored­Value
Open sandboxFocus

Method GetStoredValue

GetStoredValue(T)

Gets the value that should be stored in the cache.

Declaration
object GetStoredValue(T value)
Parameters
Type Name Description
T value

The apparent value (typically the return value of the cached method).

Returns
Type Description
Object

A cacheable object.