PoolBaseTSource, TInstance, TSettings Methods |
[This is preliminary documentation and is subject to change.]
The PoolBaseTSource, TInstance, TSettings generic type exposes the following members.
| Name | Description | |
|---|---|---|
| Acquire |
Acquires an instance from the pool.
| |
| CanInitialise |
When overridden in a derived class, determines whether the pool can be initialised.
| |
| Clear |
Clears the pool, emptying it of all pooled objects.
| |
| CreateInternalPool |
When implemented in a derived class, creates the internal object pool.
| |
| CreateSettingsClone |
When implemented in a derived class, creates a new instance of TSettings that is an exact copy of the specified settings.
| |
| DestroyInstance |
When implemented in a derived class, destroys the specified instance.
| |
| 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.) | |
| Grow |
Increases the number of objects contained by the pool by the specified amount.
| |
| Initialise |
Initialises the pool, populating it with the initial number of objects.
| |
| Initialise(TSettings) |
Initialises the pool, populating it with the initial number of objects.
| |
| MemberwiseClone | (Inherited from Object.) | |
| OnCanAcquireChanged |
Raises the CanAcquireChanged event.
| |
| OnCountChanged |
Raises the CountChanged event.
| |
| OnDestroy | ||
| OnDestroyed |
Raises the Destroyed event.
| |
| OnInitialised |
Raises the Initialised event.
| |
| OnObjectAcquired |
Raises the ObjectAcquired event.
| |
| OnObjectDestroyed |
Raises the ObjectDestroyed event.
| |
| OnObjectInstantiated |
Raises the ObjectInstantiated event.
| |
| OnObjectReleased |
Raises the ObjectReleased event.
| |
| Release |
Releases an instance back to the pool.
| |
| SetSize |
Sets the number of objects contained by the pool, either destroying excess pooled objects, or instantiating new ones.
| |
| Shrink |
Decreases the number of objects contained by the pool by the specified amount.
| |
| Start | ||
| ToString | (Inherited from Object.) | |
| TryAcquire |
Acquires an instance from the pool.
|