PostSharp 6.10 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Caching.​Value­Adapters Namespace / IValue­Adapter(T) Interface / IValue­Adapter(T) Methods / IValue­Adapter(T).​Get­Stored­Value Method / IValue­Adapter(T).​Get­Stored­Value Method (T)

IValueAdapter<T>.GetStoredValue Method (T)

Gets the value that should be stored in the cache.

Namespace:  PostSharp.Patterns.Caching.ValueAdapters
Assembly:  PostSharp.Patterns.Caching (in PostSharp.Patterns.Caching.dll) Version: 6.10.5.0 (6.10.5.0)
Syntax
C#
Object GetStoredValue(
	T value
)

Parameters

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

Return Value

Type: Object
A cacheable object.
See Also