Click or drag to resize
CachedSectionTData Constructor (TData, Double, Boolean, String, Object)
Constructor.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.2.23
Syntax
C#
public CachedSection(
	ref TData result,
	double cacheMinutes,
	bool condition,
	string customCacheItemName,
	params Object[] cacheItemNameParts
)

Parameters

result
Type: TData
Returns the result of the cached data if available
cacheMinutes
Type: SystemDouble
Defines how long this item will stay in cache (in minutes)
condition
Type: SystemBoolean
Cache condition
customCacheItemName
Type: SystemString
Custom cache item name
cacheItemNameParts
Type: SystemObject
Cache item name parts
See Also