IAggregatePool.Item

D2 compiler refuses to resolve Item type from IPool implicitly which may be a bug but is easily fixed by introducing explicit alias.

class IAggregatePool(T)
alias Item = IPool.Item

Meta