Click or drag to resize

SerialisableObjectPoolTObjectInstantiated Event

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

Occurs when a new object is instantiated.

Namespace:  Umbrace.Unity.PurePool
Assembly:  Umbrace.Unity.PurePool (in Umbrace.Unity.PurePool.dll) Version: 0.0.0.0 (1.0.0.0)
Syntax
C#
public event EventHandler<PoolObjectEventArgs<T>> ObjectInstantiated

Value

Type: SystemEventHandlerPoolObjectEventArgsT
Remarks
This event can occur before the pool is fully initialised. This happens when Initialise is first called, and InitialSize is greater than zero. Care should be taken to avoid using any methods or properties on the pool that require the pool to be initialised, unless suitable checks are made to IsInitialised.
See Also