ICache |
public interface ICacheProvider
The ICacheProvider type exposes the following members.
Name | Description | |
---|---|---|
CacheObject | CacheObject sets the specified objectToCache to the specified key in the cache. The value can be retrieved by GetCachedObjectT(String) or removed by RemoveCachedObject(String) method. This method is thread safe and can be called from any thread. | |
GetCachedObjectT | GetCachedObject gets the object that was previously stored by the CacheObject(String, Object) method. If the key is not found a default value of T (null for reference types) is returned. This method is thread safe and can be called from any thread. | |
RemoveCachedObject | RemoveCachedObject removes the specified key from the cache. This method is thread safe and can be called from any thread. |