Click or drag to resize

GenericObjectPoolT Methods

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

The GenericObjectPoolT generic type exposes the following members.

Methods
  NameDescription
Public methodAcquire
Acquires an object from the pool.
Public methodClear
Clears the pool, emptying it of all pooled objects.
Public methodContains
Determines whether an instance is in the pool.
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.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodOnCanAcquireChanged
Raises the CanAcquireChanged event.
Protected methodOnCountChanged
Raises the CountChanged 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 object back to the pool.
Public methodRemove
Removes the specified instance from the pool.
Public methodSetSize
Sets the number of objects contained by the pool, either destroying excess pooled objects, or instantiating new ones.
Public methodToString (Inherited from Object.)
Public methodTryAcquire
Acquires an object from the pool.
Top
See Also