public void Dispose() { if (_pool != null) { _pool.Back(Item); _pool = null; } }
public FromPool(PayloadPool <T> pool) : this(pool.Rent(), pool) { }
public FromPool(T item, PayloadPool <T> pool) { _pool = pool; Item = item; }