Table of Contents

Class StackExtensions

Namespace
Terminal.Gui.ViewBase
Assembly
Terminal.Gui.dll

Extension of Stack<T> helper to work with specific IEqualityComparer<T>

public static class StackExtensions
Inheritance
StackExtensions
Inherited Members

Methods

Contains<T>(Stack<T>, T, IEqualityComparer<T>?)

Check if the stack object contains the value to find.

MoveNext<T>(Stack<T>)

Move the first stack object value to the end.

MovePrevious<T>(Stack<T>)

Move the last stack object value to the top.

MoveTo<T>(Stack<T>, T, int, IEqualityComparer<T>?)

Move the stack object value to the index.

Replace<T>(Stack<T>, T, T, IEqualityComparer<T>?)

Replaces a stack object values that match with the value to replace.