Click or drag to resize
CMSCacheDependency Class
Establishes a dependency relationship between an item stored in ASP.NET application's cache and a file, cache key, an array of either or another dependency object. This class monitors the dependency relationship so that when any of them changes, the cache item will be automatically removed.
Inheritance Hierarchy
SystemObject
  CMS.HelpersCMSCacheDependency

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 11.0.0
Syntax
C#
[SerializableAttribute]
public class CMSCacheDependency

The CMSCacheDependency type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyCacheDependency
.NET Cache dependency object
Public propertyCacheKeys
Gets the cache keys of the dependency.
Public propertyFileNames
Collection of file full paths used for cache dependency.
Public propertyIncludeDefaultDependencies
Indicates whether the dependency should include also default dependencies.
Public propertyStart
The date and time against which to check the last modified date of the objects passed in the filenames and cache keys arrays
Top
Methods
  NameDescription
Public methodEnsureDummyKeys
Ensures the dummy keys for this dependency
Top
See Also