Class PooledObjectExtensions
public static class PooledObjectExtensions
- Inheritance
-
PooledObjectExtensions
- Inherited Members
-
Methods
Get<T>(out HashSet<T>, int)
public static PooledObject<HashSet<T>> Get<T>(out HashSet<T> set, int capacity = 0)
Parameters
set HashSet<T>
capacity int
Returns
- PooledObject<HashSet<T>>
Type Parameters
T
Get<T>(out List<T>, int)
public static PooledObject<List<T>> Get<T>(out List<T> list, int capacity = 0)
Parameters
list List<T>
capacity int
Returns
- PooledObject<List<T>>
Type Parameters
T
Get<T>(out Queue<T>)
public static PooledObject<Queue<T>> Get<T>(out Queue<T> queue)
Parameters
queue Queue<T>
Returns
- PooledObject<Queue<T>>
Type Parameters
T
Get<T>(out Stack<T>)
public static PooledObject<Stack<T>> Get<T>(out Stack<T> stack)
Parameters
stack Stack<T>
Returns
- PooledObject<Stack<T>>
Type Parameters
T
Get<TKey, TValue>(out Dictionary<TKey, TValue>, int)
public static PooledObject<Dictionary<TKey, TValue>> Get<TKey, TValue>(out Dictionary<TKey, TValue> dict, int capacity = 0)
Parameters
dict Dictionary<TKey, TValue>
capacity int
Returns
- PooledObject<Dictionary<TKey, TValue>>
Type Parameters
TKey
TValue