Table of Contents

Class SafeObjectPool

Namespace
Enderlook.Pools
Assembly
Enderlook.Pools.dll

Utility methods for SafeObjectPool<T>

public static class SafeObjectPool
Inheritance
SafeObjectPool
Inherited Members

Methods

CreateDefault<T>()

Creates a pool of objects.
A factory with the parameterless constructor (or default for value types if missing) of T will be provided.

public static SafeObjectPool<T> CreateDefault<T>()

Returns

SafeObjectPool<T>

A new instance that manages pooled objects.

Type Parameters

T
See Also