Click or drag to resize

MemoryCacheTKey, TValue Class

Generic class for caching objects in memory.
Inheritance Hierarchy
SystemObject
  Ptv.XServer.Controls.Map.ToolsMemoryCacheTKey, TValue

Namespace:  Ptv.XServer.Controls.Map.Tools
Assembly:  Ptv.XServer.Controls.Map (in Ptv.XServer.Controls.Map.dll) Version: 1.7.10.0
Syntax
public class MemoryCache<TKey, TValue>

Type Parameters

TKey
The key type.
TValue
The value type.

The MemoryCacheTKey, TValue type exposes the following members.

Constructors
  NameDescription
Public methodMemoryCacheTKey, TValue
Initializes a new instance of the MemoryCacheTKey, TValue class.
Top
Properties
  NameDescription
Protected propertyCacheSize
Gets or sets Documentation in progress...
Top
Methods
  NameDescription
Public methodAddValue
Adds an entry to the cache.
Public methodTryGetValue
Returns the value of an entry.
Top
Fields
  NameDescription
Protected fieldlastUsed
Documentation in progress...
Protected fieldvalueCache
TGets or sets ODO: Comment.
Top
Extension Methods
  NameDescription
Public Extension MethodToJson
Converts an object to a JSON string representation.
(Defined by JSONWriter.)
Top
See Also