ChatParametrizedCacheWrapper TData, TParam  GetData Method (TParam, Func TData, Boolean )Kentico 8.1 API Reference
Gets data from cache (if item in cache with key made from param exists) or from function FetchDataFunc. Post cache filter is applied to data after taking it from cache. Null is returned if nothing was found.

Namespace: CMS.Chat
Assembly: CMS.Chat (in CMS.Chat.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

param
Type: TParam
Parameter - data will be stored to (and retrieved from) cache based on this parameter.
postCacheFilter
Type: OnlineSystem Func TData, OnlineBoolean 
Post cache filter - filter which will be applied to data after retrieval from cache

Return Value

Type: ICacheWrapperResponse TData 
See Also