The DNNCacheDependency type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | DNNCacheDependency(String) |
Initializes a new instance of the DNNCacheDependency class that monitors a file or directory for changes.
|
![]() | DNNCacheDependency(array<String>[]()[][]) |
Initializes a new instance of the DNNCacheDependency class that monitors an array of paths (to files or directories) for changes.
|
![]() | DNNCacheDependency(CacheDependency) |
Initializes a new instance of the DNNCacheDependency class.
|
![]() | DNNCacheDependency(String, DateTime) |
Initializes a new instance of the DNNCacheDependency class that monitors a file or directory for changes.
|
![]() | DNNCacheDependency(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.
|
![]() | DNNCacheDependency(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.
|
![]() | DNNCacheDependency(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.
|
![]() | DNNCacheDependency(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.
|
![]() | DNNCacheDependency(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
Name | Description | |
---|---|---|
![]() | Dispose()()()() |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
![]() | Dispose(Boolean) | DotNetNuke.Services.Cache.DNNCacheDependency |
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Extension Methods
Name | Description | |
---|---|---|
![]() | ToJson |
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
Name | Description | |
---|---|---|
![]() | CacheDependency |
Gets the cache dependency.
|
![]() | CacheKeys |
Gets the cache keys.
|
![]() | FileNames |
Gets the file names.
|
![]() | HasChanged |
Gets a value indicating whether this instance has changed.
|
![]() | StartTime |
Gets the start time.
|
![]() | SystemCacheDependency |
Gets the system cache dependency.
|
![]() | UtcLastModified |
Gets the UTC last modified.
|