Click or drag to resize

PoolBaseTSource, TInstance, TSettings Methods

[This is preliminary documentation and is subject to change.]

The PoolBaseTSource, TInstance, TSettings generic type exposes the following members.

Methods
  NameDescription
Public methodAcquire
Acquires an instance from the pool.
Protected methodCanInitialise
When overridden in a derived class, determines whether the pool can be initialised.
Public methodClear
Clears the pool, emptying it of all pooled objects.
Protected methodCreateInternalPool
When implemented in a derived class, creates the internal object pool.
Protected methodCreateSettingsClone
When implemented in a derived class, creates a new instance of TSettings that is an exact copy of the specified settings.
Protected methodDestroyInstance
When implemented in a derived class, destroys the specified instance.
Public methodEquals (Inherited from Object.)
Public methodFill
Fills the pool, populating it with pooled objects until it reaches the maximum pool size.
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetItems
Public methodGetType (Inherited from Object.)
Public methodGrow
Increases the number of objects contained by the pool by the specified amount.
Public methodInitialise
Initialises the pool, populating it with the initial number of objects.
Public methodInitialise(TSettings)
Initialises the pool, populating it with the initial number of objects.
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodOnCanAcquireChanged
Raises the CanAcquireChanged event.
Protected methodOnCountChanged
Raises the CountChanged event.
Protected methodOnDestroy
Protected methodOnDestroyed
Raises the Destroyed event.
Protected methodOnInitialised
Raises the Initialised event.
Protected methodOnObjectAcquired
Raises the ObjectAcquired event.
Protected methodOnObjectDestroyed
Raises the ObjectDestroyed event.
Protected methodOnObjectInstantiated
Raises the ObjectInstantiated event.
Protected methodOnObjectReleased
Raises the ObjectReleased event.
Public methodRelease
Releases an instance back to the pool.
Public methodSetSize
Sets the number of objects contained by the pool, either destroying excess pooled objects, or instantiating new ones.
Public methodShrink
Decreases the number of objects contained by the pool by the specified amount.
Protected methodStart
Public methodToString (Inherited from Object.)
Public methodTryAcquire
Acquires an instance from the pool.
Top
See Also