Click or drag to resize

ReusableObjectPool Methods

The ReusableObjectPool type exposes the following members.

Methods
  Name Description
Public method Static member Clear Releases all the objects currently cached in the specified pool.
Public method Static member ReturnObject Returns object to the pool.
Public method Static member SetPoolSize Allocates the pool to the desired size.
Public method Static member TakeObject(Type) Gets an object from the pool, or creates a new one if no pool items are available.
Public method Static member TakeObjectT(Type) Gets an object from the pool, or creates a new one if no pool items are available.
Top
See Also