Method | Description | |
---|---|---|
Add ( ICacheKey key, object value ) : void | ||
Add ( ICacheKey key, object value, CacheDuration cacheDuration ) : void | ||
Contains ( ICacheKey key ) : bool | ||
Flush ( ) : void | ||
Flush ( CacheName cache ) : void | ||
HttpCachingService ( bool enabled, int>.Dictionary |
Constructor.
|
|
Remove ( ICacheKey key ) : void | ||
this ( ICacheKey key ) : object |
Method | Description | |
---|---|---|
DurationInSeconds ( CacheDuration duration ) : int | ||
ShouldCache ( ICacheKey key ) : bool |
public Add ( ICacheKey key, object value ) : void | ||
key | ICacheKey | |
value | object | |
return | void |
public Add ( ICacheKey key, object value, CacheDuration cacheDuration ) : void | ||
key | ICacheKey | |
value | object | |
cacheDuration | CacheDuration | |
return | void |
public HttpCachingService ( bool enabled, int>.Dictionary |
||
enabled | bool | True to turn standard caching on, false to disable it. |
cacheDurations | int>.Dictionary | |
caches | CacheDuration>.Dictionary | A dictionary in which the keys are the names of the caches and the values indicate whether those caches are enabled or not. |
return | System |