The FileDependency type exposes the following members.

Constructors

  NameDescription
Public methodFileDependency(String)
Initializes a new instance of the FileExpiration class that monitors a file or directory for changes.
Public methodFileDependency(array<String>[]()[][])
Initializes a new instance of the FileExpiration class that monitors an array of file paths (to files or directories) for changes.
Public methodFileDependency(String, DateTime)
Initializes a new instance of the FileExpiration class that monitors a file or directory for changes and indicates when change tracking is to begin.
Public methodFileDependency(array<String>[]()[][], DateTime)
Initializes a new instance of the FileExpiration class that monitors an array of file paths (to files or directories) for changes and specifies a time when change monitoring begins.

Methods

  NameDescription
Protected methodAddDependencies (Inherited from CacheDependency.)
Protected methodDependencyDispose
Release custom resources used by the CacheDependency object.
(Inherited from CacheDependency.)
Public methodDispose
Releases the resources used by the CacheDependency object.
(Inherited from CacheDependency.)
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 (Inherited from CacheDependency.)
Public propertyfileNames
Get the array of file names
Public propertyStartAfterTicks

See Also