|
|
Reusable
|
The ReusableObjectPool type exposes the following members.
| Name | Description | |
|---|---|---|
|
|
Clear | Releases all the objects currently cached in the specified pool. |
|
|
ReturnObject | Returns object to the pool. |
|
|
SetPoolSize | Allocates the pool to the desired size. |
|
|
TakeObject(Type) | Gets an object from the pool, or creates a new one if no pool items are available. |
|
|
TakeObjectT(Type) | Gets an object from the pool, or creates a new one if no pool items are available. |