PostSharp.Patterns.Caching.ValueAdapters Namespace |
This namespace contains the abstractions that allow to cache types like Stream or IEnumerable, which could not be cached without adaptation.
Class | Description | |
---|---|---|
ValueAdapter<T> |
An abstract implementation of IValueAdapter<T>.
| |
ValueAdapterFactory |
Registers and provides value adapters (IValueAdapter), which allow for instance to cache things like Stream or IEnumerable,
which could not be otherwise cached.
|
Interface | Description | |
---|---|---|
IValueAdapter |
Wraps uncachable classes or interfaces into cacheable objects, for instance an IEnumerable may be wrapped into an array.
| |
IValueAdapter<T> |
A strongly-typed version of IValueAdapter.
|