메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
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. |
리턴 | 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 |
리턴 | void |