ObjectCacheFactoryCreateTKey, TValue Method
Creates a new object cache without adding it to 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> Create<TKey, TValue>()
where TValue : ICachableObject
Public Shared Function Create(Of TKey, TValue As ICachableObject) As IObjectCache(Of TKey, TValue)
public:
generic<typename TKey, typename TValue>
where TValue : ICachableObject
static IObjectCache<TKey, TValue>^ Create()
static member Create : 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