Click or drag to resize
CachedSection<TData> Constructor (TData, Double, Boolean, String,Object[])
Creates new instance of CachedSection with absolute expiration.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 11.0.0
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: System.Double
Defines how long this item will stay in cache (in minutes)
condition
Type: System.Boolean
Cache condition
customCacheItemName
Type: System.String
Custom cache item name
cacheItemNameParts
Type:System.Object[]
Cache item name parts
See Also