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

ValueAdapter<T>.GetStoredValue Method

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.7.12.0 (6.7.12.0)
Syntax
C#
public abstract 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.

Implements

IValueAdapter<T>.GetStoredValue(T)
See Also