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

IValueAdapter.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.8.6.0 (6.8.6.0)
Syntax
C#
Object GetExposedValue(
	Object storedValue
)

Parameters

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

Return Value

Type: Object
The value that should be exposed to the consuming application, i.e. typically the return value of the cached method.
See Also