IAggregatePool.get_

Takes an idle item from the pool or creates a new one if all item are busy or the pool is empty.

This method is overridden simply in order to verify that an iteration is not in progress.

class IAggregatePool(T)
protected override
get_
()

Parameters

new_item Item

expression that creates a new Item instance

Return Value

Type: Item

pool item

Throws

LimitExceededException if limitation is enabled and all pool items are busy

Meta