Table of Contents

Class StockStatusService

Namespace
Dynamicweb.Ecommerce.Stocks
Assembly
Dynamicweb.Ecommerce.dll
public class StockStatusService : ICacheStorage<string, ConcurrentDictionary<string, StockStatus>>, ICacheStorage<string>, ICacheStorage
Inheritance
StockStatusService
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<string>)

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

public void ClearCache(IEnumerable<string> keys)

Parameters

keys IEnumerable<string>

Keys to reset

ClearCache(string)

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

public void ClearCache(string key)

Parameters

key string

Key to reset

SetCacheType<TObjectCache>()

Changes the storage container

public void SetCacheType<TObjectCache>() where TObjectCache : ServiceCache<string, ConcurrentDictionary<string, StockStatus>>

Type Parameters

TObjectCache
To top