SerializingCacheProvider<TSerialized>
Defines an ISyncCacheProvider which serializes objects of any type in and out of an underlying cache which caches as type TSerialized. For use with synchronous CachePolicy.
public SerializingCacheProvider(ISyncCacheProvider<TSerialized> wrappedCacheProvider, ICacheItemSerializer<object, 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.