ObjectPool<T>.Retrieve
Method in ObjectPool<T>
Implements IObjectPool<T>.Retrieve
Declaration
public T Retrieve()
Description
Removes and returns an object from the pool. If there are no available objects in the pool, either a new object will be generated or the oldest object will be reused depending upon how the object pool is configured.
Returns
T | An object from the pool. |