IObjectCacheTKey, TValueGetOrInsertWithHash Method

Scanjour Workflow4 Reference Manual
Gets and returns the hashvalue and object if it exists in the cache otherwise the supplied createMethod is used to get the item from the repository

Namespace:  Scanjour.Workflow4.Base.Cache
Assembly:  Scanjour.Workflow4.Base (in Scanjour.Workflow4.Base.dll) Version: 23.1.0.0 (23.1.0.0)
Syntax

(TValue , string ) GetOrInsertWithHash(
	TKey key,
	Func<TKey, TValue> createMethod
)

Parameters

key
Type: TKey
The item to get
createMethod
Type: SystemFuncTKey, TValue

[Missing <param name="createMethod"/> documentation for "M:Scanjour.Workflow4.Base.Cache.IObjectCache`2.GetOrInsertWithHash(`0,System.Func{`0,`1})"]

Return Value

Type: ValueTupleTValue, String
The object and the hash of the object identified by the key
See Also

Reference