Interface ICache
Provides a mechanism for managing the internal cache used by the reporting engine and the viewers.
Namespace: Telerik.Reporting.Cache.Interfaces
Assembly: Telerik.Reporting.dll
Syntax
public interface ICache : IDisposable
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
System.String
key
Specifies the key used to identify the value in the cache. |
Returns
System.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
System.String
key
Specifies the key used to identify the value in the cache. |
Returns
System.Boolean
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
System.String
key
Specifies the key used to identify the value in the cache. |
System.Byte[]
value
Specifies the value to store in the cache with the given key. |