PooledList<T>.

PooledList(Func<T>, int) Constructor

Summary

Creates a new Weaver.PooledList`1 which will create new items as necessary using the `createItem` delegate.
Assembly
Weaver.dll
Namespace
Weaver
Containing Type
PooledList<T>

Syntax

public PooledList(Func<T> createItem, int preAllocate = 0)

Parameters

Name Type Description
createItem Func<T>
preAllocate int

Return Value

Type Description
void