InterfaceICache
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
Clear()
Clears all values and their corresponding keys from the cache.
Declaration
void Clear()
GetValue(string)
Retrieves the value with the specified key from the cache.
Declaration
byte[] GetValue(string key)
Parameters
key
string
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)
Determines if a value with the specified key exists in the cache.
Declaration
bool HasValue(string key)
Parameters
key
string
Specifies the key used to identify the value in the cache.
Returns
bool
True - if a value with the specified key exists, False - otherwise.
SetValue(string, byte[])
Stores the specified value with the given key in the cache.
Declaration
void SetValue(string key, byte[] value)
Parameters
key
string
Specifies the key used to identify the value in the cache.
value
byte[]
Specifies the value to store in the cache with the given key.