PooledList<T>.

PooledList(T[], ClearMode, 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, ClearMode clearMode, ArrayPool<T> customPool)

Parameters

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

Return Value

Type Description
void