ObjectCacheFactoryGetTKey, TValue Method
Gets or creates a new object cache in the static context
Namespace: Scanjour.Workflow4.Base.CacheAssembly: Scanjour.Workflow4.Base (in Scanjour.Workflow4.Base.dll) Version: 24.4.0.0 (24.4.0.0)
public static IObjectCache<TKey, TValue> Get<TKey, TValue>()
where TValue : ICachableObject
Public Shared Function Get(Of TKey, TValue As ICachableObject) As IObjectCache(Of TKey, TValue)
public:
generic<typename TKey, typename TValue>
where TValue : ICachableObject
static IObjectCache<TKey, TValue>^ Get()
static member Get : unit -> IObjectCache<'TKey, 'TValue> when 'TValue : ICachableObject
- TKey
- Type of the key used for the storing the objects in the cache
- TValue
- Type of the objects that are cached
IObjectCacheTKey,
TValueThe newly created object cache