Click or drag to resize
ChatCurrentStateCacheWrapperTData, TKey Constructor
Constructor.

Namespace: CMS.Chat
Assembly: CMS.Chat (in CMS.Chat.dll) Version: 8.2.23
Syntax
C#
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