Class MemoryCacheProvider
Inheritance
System.Object
MemoryCacheProvider
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.RadMap.dll
Syntax
public class MemoryCacheProvider : IMapCacheProvider
Constructors
MemoryCacheProvider()
Declaration
public MemoryCacheProvider()
Fields
cache
Declaration
public Dictionary<string, byte[]> cache
Field Value
System.Collections.Generic.Dictionary<System.String, System.Byte[]>
|
Methods
Load(String)
Declaration
public Stream Load(string key)
Parameters
System.String
key
|
Returns
System.IO.Stream
|
Implements
LoadAsync(String, Action<String, Byte[]>)
Declaration
public void LoadAsync(string key, Action<string, byte[]> callback)
Parameters
System.String
key
|
System.Action<System.String, System.Byte[]>
callback
|
Implements
Save(String, DateTime, Byte[])
Declaration
public void Save(string key, DateTime expirationDate, byte[] content)
Parameters
System.String
key
|
System.DateTime
expirationDate
|
System.Byte[]
content
|