IObjectPoolMaximumSize Property |
[This is preliminary documentation and is subject to change.]
Namespace: Umbrace.Unity.PurePool
The maximum size must be greater than, or equal to, zero. It cannot be a negative number.
If an object is released to the pool while the pool is full, the object will be destroyed.
If MaximumSize is set to a value lower than the current Count, the pool will be reduced in size by destroying excess objects.