ICache
Provides a mechanism for managing the internal cache used by the reporting engine and the viewers.
Definition
Namespace:Telerik.Reporting.Cache.Interfaces
Assembly:Telerik.Reporting.dll
Syntax:
public interface ICache
Methods
Clears all values and their corresponding keys from the cache.
void Clear()
GetValue(string)
byte[]
Retrieves the value with the specified key from the cache.
byte[] GetValue(string key)
Specifies the key used to identify the value in the cache.
Returns:byte[]
The value with the specified key, or null if no such value exists.
HasValue(string)
bool
Determines if a value with the specified key exists in the cache.
bool HasValue(string key)
Specifies the key used to identify the value in the cache.
Returns:bool
True - if a value with the specified key exists, False - otherwise.
Stores the specified value with the given key in the cache.
void SetValue(string key, byte[] value)
Specifies the key used to identify the value in the cache.
valuebyte[]Specifies the value to store in the cache with the given key.