PooledList<T>.

PooledList(int, ArrayPool<T>) Constructor

Summary

Constructs a List with a given initial capacity. The list is initially empty, but will have room for the given number of elements before any reallocations are required.
Namespace
Avalonia.Collections.Pooled
Containing Type
PooledList<T>

Syntax

public PooledList(int capacity, ArrayPool<T> customPool)

Parameters

Name Type Description
capacity int
customPool ArrayPool<T>

Return Value

Type Description
void