PoolManagerBaseTManagerSettings, TPool, TPoolSettings, TSource, TInstanceTryGetPool Method |
[This is preliminary documentation and is subject to change.]
Gets the pool that handles instances of the specified source object.
Namespace:
Umbrace.Unity.PurePool
Assembly:
Umbrace.Unity.PurePool (in Umbrace.Unity.PurePool.dll) Version: 0.0.0.0 (1.0.0.0)
Syntax public bool TryGetPool(
TSource sourceObject,
out TPool pool
)
Parameters
- sourceObject
- Type: TSource
The source object to retrieve the pool for. - pool
- Type: TPool
When this method returns, contains the pool that handles the specified source object, if one is found; otherwise, . This parameter is passed uninitialised.
Return Value
Type:
Boolean if the manager contains a pool that handles the specified source object; otherwise,
.
See Also