Click or drag to resize

GenericObjectPoolT Constructor

[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()
Exceptions
ExceptionCondition
InvalidOperationExceptionIf type T has no public parameterless constructor.
Remarks
This constructor uses the public parameterless constructor on type T for the creation of new objects. If you need to have greater control over the creation of new objects, or T does not have a public parameterless constructor, you should use the overloaded constructor that takes a factory method, GenericObjectPoolT(FuncT).
See Also