Click or drag to resize
Ab4d.SharpEngine logo

ICacheProvider Interface

ICacheProvider interface defines methods to cache, get cache and remove cached values.

Namespace: Ab4d.SharpEngine.Common
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntax
C#
public interface ICacheProvider

The ICacheProvider type exposes the following members.

Methods
 NameDescription
Public methodCacheObject 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.
Public methodGetCachedObjectT 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.
Public methodRemoveCachedObject RemoveCachedObject removes the specified key from the cache. This method is thread safe and can be called from any thread.
Top
Remarks

[Missing <remarks> documentation for "T:Ab4d.SharpEngine.Common.ICacheProvider"]

See Also