 |
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.SharpEngineAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntaxpublic T GetCachedObject<T>(
string key
)
Parameters
- key String
- key as sting
Type Parameters
- T
Return Value
TCached object or default value of T (null for reference types) when the key does not exist
Implements
ICacheProviderGetCachedObjectT(String)
See Also