ClassIsolatedStorageCache
Represents the IsolatedCacheStorage class.
Definition
Namespace:Telerik.Windows.Controls.Map
Assembly:Telerik.Windows.Controls.DataVisualization.dll
Syntax:
public class IsolatedStorageCache : FileCacheBase, ICacheStorage
Inheritance: objectMemoryCacheFileCacheBaseIsolatedStorageCache
Implements:
Inherited Members
Constructors
IsolatedStorageCache()
Initializes a new instance of the IsolatedStorageCache class.
Declaration
public IsolatedStorageCache()
IsolatedStorageCache(string, IsolatedStorageFile)
Initializes a new instance of the IsolatedStorageCache class.
Declaration
public IsolatedStorageCache(string cachePath, IsolatedStorageFile isolatedStorageFile)
Parameters
cachePath
Path to the cached files.
isolatedStorageFile
IsolatedStorageFile instance.
Methods
CreateCacheStream(string)
Creates a stream.
GetFiles(string, string)
Obtains file names according to mask.
LoadFileMetadata(string)
Loads file metadata.
Declaration
[SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes")]
protected override MemoryCache.ICacheRecordMetadata LoadFileMetadata(string fileName)
Parameters
fileName
File name.
Returns
MemoryCache.ICacheRecordMetadata
ICacheRecordMetadata implementation instance.
Overrides
OnCachePathChanged(string, string)
Calls when the CachePath property is changed.
OpenCacheStream(string)
Returns stream to the file name.
RemoveFile(string)
Removes file by name.
Declaration
protected override void RemoveFile(string fileName)
Parameters
fileName
File name.
Overrides
SaveFileMetadata(ICacheRecordMetadata)
Saves file metadata.
Declaration
protected override void SaveFileMetadata(MemoryCache.ICacheRecordMetadata cacheRecord)
Parameters
cacheRecord
MemoryCache.ICacheRecordMetadata
Cache record metadata.
Overrides