Interface ICacheStorage<TKey, TCachedObject>
- Namespace
- Dynamicweb.Caching
- Assembly
- Dynamicweb.Caching.dll
Defines a storage that uses an object cache
public interface ICacheStorage<TKey, TCachedObject> : ICacheStorage<TKey>, ICacheStorage where TKey : IEquatable<TKey>
Type Parameters
TKey
- CacheKey unique accross cacheobjects in the storage
TCachedObject
- Object cached by the storage
- Inherited Members
Methods
SetCacheType<TObjectCache>()
Changes the storage container
void SetCacheType<TObjectCache>() where TObjectCache : ServiceCache<TKey, TCachedObject>
Type Parameters
TObjectCache