ClassMemoryCacheProvider
Class
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.RadMap.dll
Syntax:
cs-api-definition
public class MemoryCacheProvider : IMapCacheProvider
Inheritance: objectMemoryCacheProvider
Implements:
Constructors
MemoryCacheProvider()
Declaration
cs-api-definition
public MemoryCacheProvider()
Fields
cache
Declaration
cs-api-definition
public Dictionary<string, byte[]> cache
Field Value
Dictionary<string, byte[]>
Methods
Load(string)
Retrieves a file from the cache.
LoadAsync(string, Action<string, byte[]>)
Retrieves a file from the cache asynchronously.
Save(string, DateTime, byte[])
Stores a file to the cache.
Declaration
cs-api-definition
public void Save(string key, DateTime expirationDate, byte[] content)
Parameters
key
The name of the file to store in the cache.
expirationDate
The date after which the cache for the file is considered expired.
content
byte[]
The content of the file as byte array.
Implements