IObjectCacheTKey, TValueGetOrInsertAll Method
Gets and returns all objects if any exists in the cache otherwise the supplied createMethod is used to
get the item from the repository
Namespace: Scanjour.Workflow4.Base.CacheAssembly: Scanjour.Workflow4.Base (in Scanjour.Workflow4.Base.dll) Version: 24.4.0.0 (24.4.0.0)
IEnumerable<(TKey , TValue )> GetOrInsertAll(
Uri uri,
Func<IEnumerable<(TKey , TValue )>> createMethod
)
Function GetOrInsertAll (
uri As Uri,
createMethod As Func(Of IEnumerable(Of ( As TKey, As TValue)))
) As IEnumerable(Of ( As TKey, As TValue))
IEnumerable<ValueTuple<TKey, TValue>>^ GetOrInsertAll(
Uri^ uri,
Func<IEnumerable<ValueTuple<TKey, TValue>>^>^ createMethod
)
abstract GetOrInsertAll :
uri : Uri *
createMethod : Func<IEnumerable<ValueTuple<'TKey, 'TValue>>> -> IEnumerable<ValueTuple<'TKey, 'TValue>>
- uri Uri
- uri identifing the database
- createMethod FuncIEnumerableValueTupleTKey, TValue
- Function that is able to create a cacheitem
IEnumerableValueTupleTKey,
TValueAll The objects of the type