PostSharpAPI ReferencePost­Sharp.​Patterns.​Caching.​Value­AdaptersIValue­Adapter<T>Get­Stored­Value
Open sandboxFocus

IValueAdapter<T>.GetStoredValue Method

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.