Click or drag to resize
ChatIncrementalCacheWithCurrentStateWrapperTData, TPrimaryKey Constructor
Constructor. Inits inner ChatParametrizedCacheWrapper and ChatCurrentStateCacheWrapper

Namespace: CMS.Chat
Assembly: CMS.Chat (in CMS.Chat.dll) Version: 12.0.0
Syntax
C#
public ChatIncrementalCacheWithCurrentStateWrapper(
	string key,
	FetchAllDataFunc<TData> fetchAllDataFunc,
	FetchChangedDataFunc<TData> fetchChangedDataFunc,
	TimeSpan maxDelay
)

Parameters

key
Type: SystemString
Unique key
fetchAllDataFunc
Type: CMS.ChatFetchAllDataFuncTData
Function to get all data (current state)
fetchChangedDataFunc
Type: CMS.ChatFetchChangedDataFuncTData
Function to get changed data
maxDelay
Type: SystemTimeSpan
Cache persistence
See Also