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

ValueAdapter<T>.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
public abstract T? GetExposedValue(object? storedValue)
Parameters
Type Name Description
object storedValue

The value that was stored in the cache.

Returns
Type Description
T

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

Implements
IValueAdapter<T>.GetExposedValue(object?)