Click or drag to resize

LruCacheTK, T Class

Implements a very simple, size-restricted and thread safe LRU cache for caching arbitrary elements.
Inheritance Hierarchy
SystemObject
  Ptv.XServer.Controls.Map.Layers.WmtsLayerLruCacheTK, T

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 class LruCache<TK, T>
where T : class

Type Parameters

TK
Type of the key that identifies elements.
T
Type of the elements store in the LRU cache.

The LruCacheTK, T type exposes the following members.

Constructors
  NameDescription
Public methodLruCacheTK, T
Initializes a new instance of the LruCacheTK, T class
Top
Properties
  NameDescription
Public propertyItem
Reads and writes elements using the key of an element.
Top
Extension Methods
  NameDescription
Public Extension MethodToJson
Converts an object to a JSON string representation.
(Defined by JSONWriter.)
Top
See Also