SerializingCacheProvider<TResult, TSerialized>
Defines an ISyncCacheProvider<T> which serializes objects of type TResult in and out of an underlying cache which caches as type TSerialized. For use with synchronous CachePolicy.
public SerializingCacheProvider(ISyncCacheProvider<TSerialized> wrappedCacheProvider, ICacheItemSerializer<TResult, TSerialized> serializer)
Initializes a new instance of the SerializingCacheProvider<T, U> class.
Puts the specified value in the cache.
Gets a value from the cache.