Click or drag to resize
ExpiringDictionaryTKey, TValueGetAndRefreshOrCreate Method
Returns the item for the key passed across or calls the create method to create a new item and add it to the dictionary. If the item already exists then its timestamp is refreshed.

Namespace: VirtualRadar.Interface
Assembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public TValue GetAndRefreshOrCreate(
	TKey key,
	Func<TKey, TValue> create
)

Parameters

key
Type: TKey
create
Type: SystemFuncTKey, TValue

Return Value

Type: TValue
See Also