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

ValueAdapter<T> Methods

The ValueAdapter<T> generic type exposes the following members.

Methods
  NameDescription
Public methodGetExposedValue
Gets the value that should be exposed to the consuming application, i.e. typically the return value of the cached method.
Public methodGetStoredValue
Gets the value that should be stored in the cache.
Public methodGetStoredValueAsync
Asynchronously gets the value that should be stored in the cache.
See Also