Click or drag to resize

PooledLinkedListT Constructor (IEnumerableT, IPoolLinkedListNodeT)

Initializes a new PooledLinkedList<T> with a custom node pool and the contents of the specified IEnumerableT.

Namespace:  Archon.SwissArmyLib.Collections
Assembly:  Archon.SwissArmyLib (in Archon.SwissArmyLib.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public PooledLinkedList(
	IEnumerable<T> collection,
	IPool<LinkedListNode<T>> nodePool
)
Request Example View Source

Parameters

collection
Type: System.Collections.GenericIEnumerableT
A collection of items to fill with PooledLinkedList<T> with.
nodePool
Type: Archon.SwissArmyLib.PoolingIPoolLinkedListNodeT
The pool that should be used spawning/despawning new nodes.
See Also