Class ProductVersionService
- Namespace
- Dynamicweb.Ecommerce.Products
- Assembly
- Dynamicweb.Ecommerce.dll
public class ProductVersionService : ICacheStorage<ProductKey, Product>, ICacheStorage<ProductKey>, ICacheStorage
- Inheritance
-
ProductVersionService
- Implements
- Inherited Members
Constructors
ProductVersionService()
public ProductVersionService()
Methods
CleanUpProductsVersions(IEnumerable<Product>)
Cleans product versions
public virtual void CleanUpProductsVersions(IEnumerable<Product> products)
Parameters
products
IEnumerable<Product>
ClearCache()
Resets all keys to the default value for objects stored in the object cache
public void ClearCache()
ClearCache(ProductKey)
Resets the specified key to the default value for objects stored in the object cache
public void ClearCache(ProductKey key)
Parameters
key
ProductKey- Key to reset
ClearCache(IEnumerable<ProductKey>)
Resets the specified keys to the default value for objects stored in the object cache
public void ClearCache(IEnumerable<ProductKey> keys)
Parameters
keys
IEnumerable<ProductKey>- Keys to reset