Summary
Returns a
Weaver.PooledList`1
that creates new items using a parameterless constructor.
- Assembly
- Weaver
.dll - Namespace
- Weaver
- Containing Type
- PooledList
Syntax
public static PooledList<T> CreateDefaultPool<T>(int preAllocate = 0) where T : class, new()
Type Parameters
Name | Description |
---|---|
T |
Parameters
Name | Type | Description |
---|---|---|
preAllocate | int |
Return Value
Type | Description |
---|---|
PooledList |