ObjectPool<T>(Func<T>, IObjectPoolMonitor, TimeSpan?)
public ObjectPool(Func<T> factoryFunc, IObjectPoolMonitor monitor = null, TimeSpan? monitorWriteInterval = null) Simple object pool
Parameters
factoryFuncFunc<T>- Function used to create new resources of type T
monitorIObjectPoolMonitor- monitor to report statistics for object pool
monitorWriteIntervalTimeSpan?
