Microsoft.Extensions.ObjectPool.ObjectPool<T> public abstract class ObjectPool<T> A pool of objects. Documentation Code protected ObjectPool() public abstract T Get() Gets an object from the pool if one is available, otherwise creates one. public abstract void Return(T obj) Return an object to the pool.