MemoryCache
Class
A generic map cache storage.
Definition
Namespace:Telerik.Windows.Controls.Map
Assembly:Telerik.Windows.Controls.DataVisualization.dll
Syntax:
C#
public class MemoryCache : DependencyObject, ICacheStorage
Inheritance: objectMemoryCache
Derived Classes:
Implements:
Constructors
Initializes a new instance of the MemoryCache class.
C#
public MemoryCache()
Fields
MemoryMaxSizeProperty
DependencyProperty
Identifies the MemoryMaxSize dependency property.
C#
public static readonly DependencyProperty MemoryMaxSizeProperty
Properties
Gets or sets the maximal memory cache size for a storage. This is a dependency property.
C#
public long MemoryMaxSize { get; set; }
Methods
Adds cache record to the memory cache container.
C#
protected void AddToCacheRecords(MemoryCache.CacheRecord cacheRecord)
Cache record instance.
Gets the CacheRecord.
C#
protected MemoryCache.CacheRecord GetCacheRecord(string fileName)
File name.
Returns:CacheRecord.