Click or drag to resize
CacheSettingsCacheDependency Property
Cache dependency to use for the cache item. When GetCacheDependency is set and this property is not set explicitly, the value is retrieved by calling the delegate in GetCacheDependency property. Use setter of this property only in the data loading code of the cached code block to avoid unnecessary initialization of the dependencies. Use delegate property GetCacheDependency to provide cache dependencies in a more efficient way only when the system really needs them.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax
C#
public CMSCacheDependency CacheDependency { get; set; }

Property Value

Type: CMSCacheDependency
See Also