The CacheDependency type exposes the following members.

Constructors

  NameDescription
Public methodCacheDependency()()()()
Initializes a new instance of the CacheDependency class
Public methodCacheDependency(String)
Initializes a new instance of the CacheDependency class that monitors a file or directory for changes.
Public methodCacheDependency(array<String>[]()[][])
Initializes a new instance of the CacheDependency class that monitors an array of file paths (to files or directories) for changes.
Public methodCacheDependency(ExtensibleDependency)
Creates a CacheDependency instance from extensible dependency.
Public methodCacheDependency(String, DateTime)
Initializes a new instance of the CacheDependency class that monitors a file or directory for changes and indicates when change tracking is to begin.
Public methodCacheDependency(array<String>[]()[][], DateTime)
Initializes a new instance of the CacheDependency class that monitors an array of file paths (to files or directories) for changes and specifies a time when change monitoring begins.
Public methodCacheDependency(array<String>[]()[][], array<String>[]()[][])
Initializes a new instance of the CacheDependency class that monitors an array of file paths (to files or directories), an array of cache keys, or both for changes.
Public methodCacheDependency(array<String>[]()[][], array<String>[]()[][], CacheDependency)
Initializes a new instance of the CacheDependency class that monitors an array of file paths (to files or directories), an array of cache keys, or both for changes. It also makes itself dependent upon a separate instance of the CacheDependency class.
Public methodCacheDependency(array<String>[]()[][], array<String>[]()[][], DateTime)
Initializes a new instance of the CacheDependency class that monitors an array of file paths (to files or directories), an array of cache keys, or both for changes.
Public methodCacheDependency(array<String>[]()[][], array<String>[]()[][], CacheDependency, DateTime)
Initializes a new instance of the CacheDependency class that monitors an array of file paths (to files or directories), an array of cache keys, or both for changes. It also makes itself dependent upon another instance of the CacheDependency class and a time when the change monitoring begins.

Methods

  NameDescription
Protected methodAddDependencies
Protected methodDependencyDispose
Release custom resources used by the CacheDependency object.
Public methodDispose
Releases the resources used by the CacheDependency object.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyDependencies

See Also