Table of Contents

Class StockLocationService

Namespace
Dynamicweb.Ecommerce.Stocks
Assembly
Dynamicweb.Ecommerce.dll
public class StockLocationService : ICacheStorage<long, StockLocation>, ICacheStorage<long>, ICacheStorage
Inheritance
StockLocationService
Implements
Inherited Members

Properties

Info

Information about the object cache

public CacheInformation Info { get; }

Property Value

CacheInformation

Methods

ClearCache()

Resets all keys to the default value for objects stored in the object cache

public void ClearCache()

ClearCache(IEnumerable<long>)

Resets the specified keys to the default value for objects stored in the object cache

public void ClearCache(IEnumerable<long> keys)

Parameters

keys IEnumerable<long>

Keys to reset

ClearCache(long)

Resets the specified key to the default value for objects stored in the object cache

public void ClearCache(long key)

Parameters

key long

Key to reset

SetCacheType<TObjectCache>()

Changes the storage container

public void SetCacheType<TObjectCache>() where TObjectCache : ServiceCache<long, StockLocation>

Type Parameters

TObjectCache
To top