Click or drag to resize

GenericObjectPoolT Constructor (FuncT, Int32, Int32)

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

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 GenericObjectPool(
	Func<T> factory,
	int initialSize,
	int maximumSize
)

Parameters

factory
Type: SystemFuncT
A factory method that constructs and returns a new object each time it is invoked.
initialSize
Type: SystemInt32
The initial number of objects to populate the pool with.
maximumSize
Type: SystemInt32
The maximum size of the pool, which is the maximum number of objects it can contain.
See Also