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

ValueAdapter<T>.GetStoredValue Method

GetStoredValue(T)

Gets the value that should be stored in the cache.

Declaration
public abstract object GetStoredValue(T value)
Parameters
Type Name Description
T value

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

Returns
Type Description
System.Object

A cacheable object.

Implements
IValueAdapter<T>.GetStoredValue(T)