Click or drag to resize

LruCacheTK, TItem Property

Reads and writes elements using the key of an element.

Namespace:  Ptv.XServer.Controls.Map.Layers.WmtsLayer
Assembly:  Ptv.XServer.Controls.Map (in Ptv.XServer.Controls.Map.dll) Version: 1.7.10.0
Syntax
public T this[
	TK key
] { get; set; }

Parameters

key
Type: TK
Element key. Trying to read not existing elements results in a null value being returned - no exception will be thrown in that case. Writing elements with an existing key will update the value in the cache. Every element access will make this element the "least recently used" one. The implementation is thread safe using a synchronization lock on the inner dictionary.

Property Value

Type: T
See Also