The following tables list the members exposed by Cache.
Name | Description | |
---|---|---|
Cache Constructor | Overloaded. |
Name | Description | |
---|---|---|
BytesLimit | Gets or sets the maximum size of the cache in bytes. | |
Context | Gets the context which the cached items belongs to. | |
Count | Gets the number of items stored in the cache. | |
CurrentSize | Gets the current size of the cache store in bytes. | |
Item | Gets an item from the cache. | |
ItemExpireDuration | Gets the duration an item remains in the cache. |
Name | Description | |
---|---|---|
Add | Overloaded. Adds a new item to the cache store. | |
Clear | Deletes the contents of the cache store. | |
Close | Closes the Cache object and releases all associated resources. | |
Contains | Determines whether the cache store contains an item with the specified Id. | |
Dispose | Cleans up any resources being used. | |
Insert | Overloaded. Inserts a new item to the cache store. | |
Remove | Deletes an item from the Cache. | |
Update | Forces the Cache to maintain the cache store. |
Name | Description | |
---|---|---|
Finalize | Allows an System.Object to attempt to free resources and perform other cleanup operations before the System.Object is reclaimed by garbage collection. (inherited from Object) | |
OnItemRemoved | Raises the Cache.ItemRemoved event. |
Name | Description | |
---|---|---|
ItemRemoved | Occurs when an item is removed. |