PooledStack<T>.

PooledStack(ReadOnlySpan<T>, ArrayPool<T>) Constructor

Summary

Fills a Stack with the contents of a particular collection. The items are pushed onto the stack in the same order they are read by the enumerator.
Namespace
Avalonia.Collections.Pooled
Containing Type
PooledStack<T>

Syntax

public PooledStack(ReadOnlySpan<T> span, ArrayPool<T> customPool)

Parameters

Name Type Description
span ReadOnlySpan<T>
customPool ArrayPool<T>

Return Value

Type Description
void