IsolatedStorageCache
Class
Represents the IsolatedCacheStorage class.
Definition
Namespace:Telerik.Windows.Controls.Map
Assembly:Telerik.Windows.Controls.DataVisualization.dll
Syntax:
C#
public class IsolatedStorageCache : FileCacheBase, ICacheStorage
Inheritance: objectMemoryCacheFileCacheBaseIsolatedStorageCache
Implements:
Inherited Members
Constructors
Initializes a new instance of the IsolatedStorageCache class.
C#
public IsolatedStorageCache()
Initializes a new instance of the IsolatedStorageCache class.
C#
public IsolatedStorageCache(string cachePath, IsolatedStorageFile isolatedStorageFile)
Path to the cached files.
isolatedStorageFileIsolatedStorageFileIsolatedStorageFile instance.
Methods
Clears all files in the cache.
C#
public void Clear()
Loads file metadata.
C#
protected override MemoryCache.ICacheRecordMetadata LoadFileMetadata(string fileName)
File name.
Returns:MemoryCache.ICacheRecordMetadata
ICacheRecordMetadata implementation instance.
Overrides:
Removes file by name.
C#
protected override void RemoveFile(string fileName)
File name.
Overrides:
Saves file metadata.
C#
protected override void SaveFileMetadata(MemoryCache.ICacheRecordMetadata cacheRecord)
Cache record metadata.
Overrides: