PooledStack<T>.

PooledStack(int, ArrayPool<T>) Constructor

Summary

Create a stack with a specific initial capacity. The initial capacity must be a non-negative number.
Namespace
Avalonia.Collections.Pooled
Containing Type
PooledStack<T>

Syntax

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

Parameters

Name Type Description
capacity int
customPool ArrayPool<T>

Return Value

Type Description
void