ChatCurrentStateCacheWrapperTData, TKey Constructor |
Constructor.
Namespace: CMS.ChatAssembly: CMS.Chat (in CMS.Chat.dll) Version: 11.0.0
Syntax public ChatCurrentStateCacheWrapper(
string key,
FetchAllDataFunc<TData> fetchAllDataFunc,
FetchChangedDataFunc<TData> fetchChangedDataFunc,
TimeSpan maxDelay
)
Parameters
- key
- Type: SystemString
Unique key - fetchAllDataFunc
- Type: CMS.ChatFetchAllDataFuncTData
Function which loads all data - fetchChangedDataFunc
- Type: CMS.ChatFetchChangedDataFuncTData
Function which loads changed data - maxDelay
- Type: SystemTimeSpan
Persistence of cache (how often fetchChangedDataFunc will be called)
See Also