PostSharpAPI ReferencePost­Sharp.​Patterns.​Caching.​Value­AdaptersIValue­AdapterGet­Stored­Value
Open sandboxFocus

IValueAdapter.GetStoredValue Method

GetStoredValue(Object)

Gets the value that should be stored in the cache.

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

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

Returns
Type Description
Object

A cacheable object.