PooledList<T>.

PooledList(T[], ArrayPool<T>) Constructor

Summary

Constructs a PooledList, copying the contents of the given collection. The size and capacity of the new list will both be equal to the size of the given collection.
Namespace
Avalonia.Collections.Pooled
Containing Type
PooledList<T>

Syntax

public PooledList(T[] array, ArrayPool<T> customPool)

Parameters

Name Type Description
array T[]
customPool ArrayPool<T>

Return Value

Type Description
void