ObjectCacheFactoryGetTKey, TValue Method

Gets or creates a new object cache in the static context

Definition

Namespace: Scanjour.Workflow4.Base.Cache
Assembly: Scanjour.Workflow4.Base (in Scanjour.Workflow4.Base.dll) Version: 24.4.0.0 (24.4.0.0)
C#
public static IObjectCache<TKey, TValue> Get<TKey, TValue>()
where TValue : ICachableObject

Type Parameters

TKey
Type of the key used for the storing the objects in the cache
TValue
Type of the objects that are cached

Return Value

IObjectCacheTKey, TValue
The newly created object cache

See Also