Click or drag to resize
ExpiringDictionaryTKey, TValueUpsertAndRefresh Method
Adds or updates an item in the dictionary. If the key is already in use then the value is overwritten and the timestamp is refreshed.

Namespace: VirtualRadar.Interface
Assembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public bool UpsertAndRefresh(
	TKey key,
	TValue value
)

Parameters

key
Type: TKey
value
Type: TValue

Return Value

Type: Boolean
True if the item existed and was updated / refreshed, false if it had to be added.
See Also