MetalamaAPI documentationPatterns APIMetalama.​Patterns.​Caching.​Value­AdaptersValue­Adapter<T>IValue­Adapter.​Get­Exposed­Value
Open sandboxFocus

ValueAdapter<T>.IValueAdapter.GetExposedValue Method

IValueAdapter.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 IValueAdapter.GetExposedValue(object storedValue)
Parameters
Type Name Description
System.Object storedValue

The value that was stored in the cache.

Returns
Type Description
System.Object

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

Implements
IValueAdapter.GetExposedValue(Object)