This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Syntax
C# | Copy Code |
---|---|
public class Cache |
Visual Basic (Declaration) | Copy Code |
---|---|
Public Class Cache |
The type exposes the following members.
Public Constructors
Name | Description | |
---|---|---|
Cache |
Initialzie a new instance of a Cache class with a backing store, and scavenging policy.
|
Public Methods
Name | Description | |
---|---|---|
Add | Overloaded. | |
Contains |
Determines if a particular key is contained in the cache.
|
|
Dispose | Overloaded. | |
Equals | (Inherited from Object.) | |
Flush |
Flush the cache.
|
|
GetData |
Get the object from the cache for the key.
|
|
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
Initialize |
Initialize the cache with a scavenger.
|
|
Remove | Overloaded. | |
RemoveItemFromCache |
Removes an item from the cache.
|
|
ToString | (Inherited from Object.) |
Protected Methods
Name | Description | |
---|---|---|
Dispose | Overloaded. | |
Finalize |
Dispose of the backing store before garbage collection.
(Overrides Object..::Finalize()()()().) |
|
MemberwiseClone | (Inherited from Object.) |
Public Properties
Name | Description | |
---|---|---|
Count |
Gets the count of CacheItem objects.
|
|
CurrentCacheState |
Gets the current cache.
|
See Also
Smartsite.Tools.Caching Namespace