IObjectCacheTKey, TValueGetOrInsertChangedSince Method

Scanjour Workflow4 Reference Manual
Gets and returns the object if it exists in the cache - and is newer than the date provied in changedSince argument - 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.3.0.0 (23.3.0.0)
Syntax

TValue GetOrInsertChangedSince(
	Uri uri,
	TKey key,
	Func<TKey, TValue> createMethod,
	DateTime changedSince
)

Parameters

uri
Type: SystemUri

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

key
Type: TKey
The key of the item to get
createMethod
Type: SystemFuncTKey, TValue
Function that is able to create a cacheitem
changedSince
Type: SystemDateTime
Datetime of the oldest accepted value in the cache

Return Value

Type: TValue
The object identified by the key
See Also

Reference