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.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 13.0.131
Syntax public CMSCacheDependency CacheDependency { get; set; }
Property Value
Type:
CMSCacheDependencySee Also