GenericObjectPoolT Methods |
[This is preliminary documentation and is subject to change.]
The GenericObjectPoolT generic type exposes the following members.
Name | Description | |
---|---|---|
![]() | Acquire |
Acquires an object from the pool.
|
![]() | Clear |
Clears the pool, emptying it of all pooled objects.
|
![]() | Contains |
Determines whether an instance is in the pool.
|
![]() | Equals | (Inherited from Object.) |
![]() | Fill |
Fills the pool, populating it with pooled objects until it reaches the maximum pool size.
|
![]() | Finalize | (Inherited from Object.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetItems |
Gets a list of items currently contained by the pool, and stores them in the specified ListT.
|
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | OnCanAcquireChanged |
Raises the CanAcquireChanged event.
|
![]() | OnCountChanged |
Raises the CountChanged event.
|
![]() | OnObjectAcquired |
Raises the ObjectAcquired event.
|
![]() | OnObjectDestroyed |
Raises the ObjectDestroyed event.
|
![]() | OnObjectInstantiated |
Raises the ObjectInstantiated event.
|
![]() | OnObjectReleased |
Raises the ObjectReleased event.
|
![]() | Release |
Releases an object back to the pool.
|
![]() | Remove |
Removes the specified instance from the pool.
|
![]() | SetSize |
Sets the number of objects contained by the pool, either destroying excess pooled objects, or instantiating new ones.
|
![]() | ToString | (Inherited from Object.) |
![]() | TryAcquire |
Acquires an object from the pool.
|