Click or drag to resize

PoolBaseTSource, TInstance, TSettingsShrink Method

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

Decreases the number of objects contained by the pool by the specified amount.

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 void Shrink(
	int amount
)

Parameters

amount
Type: SystemInt32
The amount of objects to remove from the pool.
Remarks
amount cannot be a negative number.
See Also

Reference