Click or drag to resize
Ab4d.SharpEngine logo

ICacheProviderCacheObject Method

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.

Namespace: Ab4d.SharpEngine.Common
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntax
C#
void CacheObject(
	string key,
	Object? objectToCache
)

Parameters

key  String
key as sting
objectToCache  Object
object to store the specified key; when null the key is removed from the cache
Remarks

[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Common.ICacheProvider.CacheObject(System.String,System.Object)"]

See Also