Class FastObjectPool
Utility methods for FastObjectPool<T>.
public static class FastObjectPool
- Inheritance
-
FastObjectPool
- Inherited Members
Methods
CreateDefault<T>()
Creates a pool of objects.
A factory with the parameterless constructor of T will be provided.
public static FastObjectPool<T> CreateDefault<T>() where T : class
Returns
- FastObjectPool<T>
A new instance that manages pooled objects.
Type Parameters
T
- See Also
-
FastObjectPool(Func<T>)get_Factory<T>()