Method | Description | |
---|---|---|
Get ( string resourcePath ) : DateTime? |
Gets the cached last modification date for the specified resource if present, otherwise
|
|
Put ( string resourcePath, System.DateTime lastModificationDate, List |
Saves the last modification of the specified resourcePath.
|
Method | Description | |
---|---|---|
LastModifiedCache ( |
Initializes a new instance of the LastModifiedCache class, using the specified context.
|
|
OnCacheItemExpired ( string key, CacheItemUpdateReason reason, object &expensiveObject, System.Web.Caching.CacheDependency &dependency, System.DateTime &absoluteExpiration, System.TimeSpan &slidingExpiration ) : void |
public Get ( string resourcePath ) : DateTime? | ||
resourcePath | string | The resource path for which to get the last modification date. |
return | DateTime? |
public Put ( string resourcePath, System.DateTime lastModificationDate, List |
||
resourcePath | string | The resource path for which to store the date. |
lastModificationDate | System.DateTime | The last modification date to store. |
dependencies | List |
The dependencies of the |
return | void |