The DNNCacheDependency type exposes the following members.

Constructors

  NameDescription
Public methodDNNCacheDependency(String)
Initializes a new instance of the DNNCacheDependency class that monitors a file or directory for changes.
Public methodDNNCacheDependency(array<String>[]()[][])
Initializes a new instance of the DNNCacheDependency class that monitors an array of paths (to files or directories) for changes.
Public methodDNNCacheDependency(CacheDependency)
Initializes a new instance of the DNNCacheDependency class.
Public methodDNNCacheDependency(String, DateTime)
Initializes a new instance of the DNNCacheDependency class that monitors a file or directory for changes.
Public methodDNNCacheDependency(array<String>[]()[][], DateTime)
Initializes a new instance of the DNNCacheDependency class that monitors an array of paths (to files or directories) for changes and specifies a time when change monitoring begins.
Public methodDNNCacheDependency(array<String>[]()[][], array<String>[]()[][])
Initializes a new instance of the DNNCacheDependency class that monitors an array of paths (to files or directories), an array of cache keys, or both for changes.
Public methodDNNCacheDependency(array<String>[]()[][], array<String>[]()[][], DNNCacheDependency)
Initializes a new instance of the DNNCacheDependency classthat monitors an array of 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 DNNCacheDependency class.
Public methodDNNCacheDependency(array<String>[]()[][], array<String>[]()[][], DateTime)
Initializes a new instance of the DNNCacheDependency class that monitors an array of paths (to files or directories), an array of cache keys, or both for changes.
Public methodDNNCacheDependency(array<String>[]()[][], array<String>[]()[][], DNNCacheDependency, DateTime)
Initializes a new instance of the DNNCacheDependency class that monitors an array of paths (to files or directories), an array of cache keys, or both for changes. It also makes itself dependent upon another instance of the DNNCacheDependency class and a time when the change monitoring begins.

Methods

  NameDescription
Public methodDispose()()()()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Protected methodDispose(Boolean)
DotNetNuke.Services.Cache.DNNCacheDependency
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it 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.)

Extension Methods

  NameDescription
Public Extension MethodToJson
Extension method on object that serializes the value to Json. Note the type must be marked Serializable or include a DataContract attribute.
(Defined by JsonExtensionsWeb.)

Properties

  NameDescription
Public propertyCacheDependency
Gets the cache dependency.
Public propertyCacheKeys
Gets the cache keys.
Public propertyFileNames
Gets the file names.
Public propertyHasChanged
Gets a value indicating whether this instance has changed.
Public propertyStartTime
Gets the start time.
Public propertySystemCacheDependency
Gets the system cache dependency.
Public propertyUtcLastModified
Gets the UTC last modified.

See Also