public ObjectPool(Factory factory, int size, FreeContract freeop) { Debug.Assert(size >= 1); _factory = factory; _freeop = freeop; _items = new Element[size - 1]; }
public ObjectPool(Factory factory, FreeContract freeop) : this(factory, DefaultSize, freeop) { }