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

ValueAdapter<T>.GetExposedValue Method

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

Namespace:  PostSharp.Patterns.Caching.ValueAdapters
Assembly:  PostSharp.Patterns.Caching (in PostSharp.Patterns.Caching.dll) Version: 6.5.19.0 (6.5.19.0)
Syntax
C#
public abstract T GetExposedValue(
	Object storedValue
)

Parameters

storedValue
Type: System.Object
The value that was stored in the cache.

Return Value

Type: 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)
See Also