Click or drag to resize
Ab4d.SharpEngine logo

SceneGetCachedObjectT Method

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.

Namespace: Ab4d.SharpEngine
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 5.0.1075+bc537c8d217949260b11f66ee86aefa6456ac517
Syntax
C#
public T GetCachedObject<T>(
	string key
)

Parameters

key  String
key as sting

Type Parameters

T

Return Value

T
Cached object or default value of T (null for reference types) when the key does not exist

Implements

ICacheProviderGetCachedObjectT(String)
See Also