Table of Contents

Class ShadeService

Namespace
Dynamicweb.Content.Items
Assembly
Dynamicweb.dll
public class ShadeService : ICacheStorage<int, IDictionary<string, string>>, ICacheStorage<int>, ICacheStorage
Inheritance
ShadeService
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 virtual void ClearCache()

ClearCache(IEnumerable<int>)

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

public virtual void ClearCache(IEnumerable<int> keys)

Parameters

keys IEnumerable<int>

Keys to reset

ClearCache(int)

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

public virtual void ClearCache(int key)

Parameters

key int

Key to reset

GetCache(IEnumerable<int>)

public IEnumerable<IDictionary<string, string>> GetCache(IEnumerable<int> keys)

Parameters

keys IEnumerable<int>

Returns

IEnumerable<IDictionary<string, string>>

GetCache(int)

public IDictionary<string, string>? GetCache(int key)

Parameters

key int

Returns

IDictionary<string, string>

SetCacheType<TObjectCache>()

Changes the storage container

public void SetCacheType<TObjectCache>() where TObjectCache : ServiceCache<int, IDictionary<string, string>>

Type Parameters

TObjectCache
To top