Class LocalFileCacheProvider
Inheritance
System.Object
LocalFileCacheProvider
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 LocalFileCacheProvider : IMapCacheProvider
Constructors
LocalFileCacheProvider(String)
Initializes a new instance of the LocalFileCacheProvider class.
Declaration
public LocalFileCacheProvider(string cacheDirectoryPath)
Parameters
System.String
cacheDirectoryPath
The cache directory path. |
Properties
CacheDirectoryPath
Gets or sets the cache directory path.
Declaration
public string CacheDirectoryPath { get; set; }
Property Value
System.String
The cache directory path. |
Methods
AsyncFileReadComplete(IAsyncResult)
Declaration
protected virtual void AsyncFileReadComplete(IAsyncResult asyncResult)
Parameters
System.IAsyncResult
asyncResult
|
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
|