Method | Description | |
---|---|---|
Get ( string key ) : object |
Retrieves the specified item from the System.Web.Caching.Cache.
|
|
GetEnumerator ( ) : IEnumerator |
Returns an enumerator that can iterate through a collection.
|
|
Insert ( string key, object value ) : void |
Inserts the specified object to the System.Web.Caching.Cache object with a cache key to reference its location and using default values provided by the System.Web.Caching.CacheItemPriority enumeration.
|
|
Insert ( string key, object value, System.Web.Caching.CacheDependency cacheDependency ) : void |
Inserts the specified object to the System.Web.Caching.Cache object with a cache key to reference its location and using default values provided by the System.Web.Caching.CacheItemPriority enumeration. Allows specifying a CacheDependency
|
|
Insert ( string key, object value, CacheDuration cacheDuration ) : void |
Inserts the specified object to the System.Web.Caching.Cache object with a cache key to reference its location and using default values provided by the System.Web.Caching.CacheItemPriority enumeration. Allows specifying a general cache duration.
|
|
Instantiate ( ) : |
Instantiates the specified content cache from the specific HttpContext. At some point, we might consider replacing HttpContext with a type we can extend.
|
|
Remove ( string key ) : object |
Removes the specified item from the cache.
|
|
this ( string key ) : object |
Gets or sets the Object with the specified key.
|
Method | Description | |
---|---|---|
ContentCache ( ) : System | ||
ContentCache ( |
Initializes a new instance of the ContentCache class. The specified Cache instance is wrapped by this instance.
|
|
GetCacheKey ( string key ) : string |
public Insert ( string key, object value ) : void | ||
key | string | The key. |
value | object | The value. |
return | void |
public Insert ( string key, object value, System.Web.Caching.CacheDependency cacheDependency ) : void | ||
key | string | The key. |
value | object | The value. |
cacheDependency | System.Web.Caching.CacheDependency | The cache dependency. |
return | void |
public Insert ( string key, object value, CacheDuration cacheDuration ) : void | ||
key | string | The key. |
value | object | The value. |
cacheDuration | CacheDuration | The cache duration. |
return | void |