![]() |
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# |
![]() |
---|---|
public class CacheManager |
Visual Basic (Declaration) |
![]() |
---|---|
Public Class CacheManager |
The type exposes the following members.
Public Methods
Name | Description | |
---|---|---|
![]() |
Add | Overloaded. |
![]() |
Contains |
Returns true if key refers to item current stored in cache
|
![]() ![]() |
Create |
Creates a cache manager
|
![]() ![]() |
CreateInMemoryCacheManager |
Creates an in memory cache manager.
|
![]() ![]() |
CreateIsolatedStorageCacheManager |
Creates an cache manager with an IsolatedStorageBackingStore backing store.
|
![]() |
Dispose |
Not intended for public use. Only public due to requirements of IDisposable. If you call this method, your
cache will be unusable.
|
![]() |
Equals | (Inherited from Object.) |
![]() |
Flush |
Removes all items from the cache. If an error occurs during the removal, the cache is left unchanged.
|
![]() |
GetData |
Returns the value associated with the given key.
|
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
Remove |
Removes the given item from the cache. If no item exists with that key, this method does nothing.
|
![]() |
ToString | (Inherited from Object.) |
Protected Methods
Name | Description | |
---|---|---|
![]() |
Finalize | (Inherited from Object.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
Public Properties
Name | Description | |
---|---|---|
![]() |
Count |
Returns the number of items currently in the cache.
|
![]() |
Item |
Returns the item identified by the provided key
|
![]() |
LastFlush |
Returns the UTC time when the cache was created or flushed last.
|
See Also
Smartsite.Tools.Caching Namespace