Constructor KeyDependency
KeyDependency(String)
Initializes a new instance of the KeyExpiration class that monitors an array of file paths (to files or directories), an array of cache keys, or both for changes.
Declaration
public KeyDependency(string key)
Parameters
Type | Name | Description |
---|---|---|
System.String | key |
KeyDependency(String, DateTime)
Initializes a new instance of the KeyExpiration class that monitors an array of file paths (to files or directories), an array of cache keys, or both for changes.
Declaration
public KeyDependency(string key, DateTime startAfter)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | |
System.DateTime | startAfter |
KeyDependency(String[])
Initializes a new instance of the KeyExpiration class that monitors an array of file paths (to files or directories), an array of cache keys, or both for changes.
Declaration
public KeyDependency(string[] keys)
Parameters
Type | Name | Description |
---|---|---|
System.String[] | keys |
KeyDependency(String[], DateTime)
Initializes a new instance of the KeyExpiration class that monitors an array of file paths (to files or directories), an array of cache keys, or both for changes.
Declaration
public KeyDependency(string[] keys, DateTime startAfter)
Parameters
Type | Name | Description |
---|---|---|
System.String[] | keys | |
System.DateTime | startAfter |