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

IValueAdapter.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: 5.0.55.0 (5.0.55.0)
Syntax
C#
Object GetStoredValue(
	Object value
)

Parameters

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

Return Value

Type: Object
A cacheable object.
See Also