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

IValueAdapter.GetExposedValue Method

GetExposedValue(Object)

Gets the value that should be exposed to the consuming application, i.e. typically the return value of the cached method.

Declaration
object GetExposedValue(object storedValue)
Parameters
Type Name Description
Object storedValue

The value that was stored in the cache.

Returns
Type Description
Object

The value that should be exposed to the consuming application, i.e. typically the return value of the cached method.