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: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntax
C#
public T GetCachedObject<T>(
	string key
)

Parameters

key  String
key as sting

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:Ab4d.SharpEngine.Scene.GetCachedObject``1(System.String)"]

Return Value

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

Implements

ICacheProviderGetCachedObjectT(String)
Remarks

[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Scene.GetCachedObject``1(System.String)"]

See Also