PostSharp6.5//API Reference/Post­Sharp.​Patterns.​Caching.​Value­Adapters Namespace/IValue­Adapter Interface/IValue­Adapter Methods

IValueAdapter Methods

The IValueAdapter 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