IObjectPoolTTryAcquire Method |
[This is preliminary documentation and is subject to change.]
Acquires an object from the pool.
Namespace:
Umbrace.Unity.PurePool
Assembly:
Umbrace.Unity.PurePool (in Umbrace.Unity.PurePool.dll) Version: 0.0.0.0 (1.0.0.0)
Syntax bool TryAcquire(
out T instance
)
Parameters
- instance
- Type: T
When this method returns, contains the object from the pool, if one could be acquired; otherwise, . This parameter is passed uninitialised.
Return Value
Type:
Boolean if an object was acquired from the pool; otherwise,
.
See Also