public ObjectPool(IObjectPoolFactory <T> factory, int growValue = 10) { this.factory = factory; this.growValue = growValue; }
public ObjectPool(IObjectPoolFactory <T> factory) { _returnedObjects = new Queue <ObjectPoolHandle <T> >(); _borrowedObjects = new Dictionary <string, ObjectPoolHandle <T> >(); _factory = factory; }