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: 8.2.23
Syntax
C#
[SerializableAttribute]
public class CMSCacheDependency

The CMSCacheDependency type exposes the following members.

Constructors
Methods
  NameDescription
Public methodEnsureDummyKeys
Ensures the dummy keys for this dependency
Top
Extension Methods
  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Top
Properties
  NameDescription
Public propertyCacheDependency
.NET Cache dependency object
Public propertyCacheKeys
Gets the cache keys of the dependency.
Public propertyFileNames
Gets the file names of the 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
See Also