←Select platform

Cache Class Members

Summary

The following tables list the members exposed by Cache.

Public Constructors

Name Description
Cache Creates a new instance of the Cache class.

Public Methods

Name Description
Add Adds a new item to the cache store.
CacheItemRemovedHandler Represents the method that will handle the ItemRemoved event.
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 Inserts a new item to the cache store.
Remove Deletes an item from the Cache.
Update Forces the Cache to maintain the cache store.

Protected Methods

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 ItemRemoved event.

Public Properties

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.

Public Events

Name Description
ItemRemoved Occurs when an item is removed.
Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Medical.Caching Assembly