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
productsIEnumerable<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
keyProductKey- 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
keysIEnumerable<ProductKey>- Keys to reset