Interface ICacheStorage
Represents the CacheStorage interface.
Namespace: Telerik.Windows.Controls.Map
Assembly: Telerik.Windows.Controls.DataVisualization.dll
Syntax
public interface ICacheStorage
Methods
Load(String)
Loads file from a cache.
Declaration
Stream Load(string fileName)
Parameters
System. File name. |
Returns
System. Stream or null if the file is absent. |
LoadAsync(String, Action<Byte[]>)
Loads file from a cache.
Declaration
void LoadAsync(string fileName, Action<byte[]> callback)
Parameters
System. File name. |
System. Callback which should be called to return tile if it is available or null. |
Save(String, DateTime, Byte[])
Saves file to a cache.
Declaration
void Save(string fileName, DateTime expirationDate, byte[] tile)
Parameters
System. File name. |
System. DateTime of expires. |
System. Byte array which is saved to the file. |