Class StockStatusService
- Namespace
- Dynamicweb.Ecommerce.Stocks
- Assembly
- Dynamicweb.Ecommerce.dll
public class StockStatusService : ICacheStorage<string, ConcurrentDictionary<string, StockStatus>>, ICacheStorage<string>, ICacheStorage
- Inheritance
-
Stock
Status Service
- Implements
- Inherited Members
Properties
Info
Information about the object cache
Property Value
Methods
ClearCache()
Resets all keys to the default value for objects stored in the object cache
ClearCache(IEnumerable<string>)
Resets the specified keys to the default value for objects stored in the object cache
Parameters
keysIEnumerable<string>Keys to reset
ClearCache(string)
Resets the specified key to the default value for objects stored in the object cache
Parameters
keystringKey to reset
SetCacheType<TObjectCache>()
Changes the storage container
public void SetCacheType<TObjectCache>() where TObjectCache : ServiceCache<string, ConcurrentDictionary<string, StockStatus>>
Type Parameters
TObjectCache