Click or drag to resize
ObjectPoolT Constructor (Int32, ObjectPoolTCreatePoolObjectDelegate)
Creates a new pool with the specified initial and maximum capacity.

Namespace: Slash.Collections.Pools
Assembly: Slash.Collections (in Slash.Collections.dll) Version: 1.0.6018.40177
Syntax
public ObjectPool(
	int capacity,
	ObjectPoolTCreatePoolObjectDelegate createPoolObject
)

Parameters

capacity
Type: SystemInt32
Maximum capacity of the pool.
createPoolObject
Type: Slash.Collections.PoolsObjectPoolTCreatePoolObjectDelegate
Factory method for creating new pool objects.
See Also