Class ProductVersionService
- Namespace
- Dynamicweb.Ecommerce.Products
- Assembly
- Dynamicweb.Ecommerce.dll
public class ProductVersionService : ICacheStorage<ProductKey, Product>, ICacheStorage<ProductKey>, ICacheStorage
- Inheritance
-
ProductVersionService
- Implements
- Inherited Members
Methods
CleanUpProductsVersions(IEnumerable<ProductKey>)
public virtual void CleanUpProductsVersions(IEnumerable<ProductKey> productKeys)
Parameters
productKeys
IEnumerable<ProductKey>
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
ProductKeyKey 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