Table of Contents

Interface ITreeNode<T>

Namespace
LfrlAnvil.Collections
Assembly
LfrlAnvil.Collections.dll

Represents a tree data structure's node.

public interface ITreeNode<out T>

Type Parameters

T

Value type.

Extension Methods

Properties

Children

Collection of children nodes.

IReadOnlyList<ITreeNode<out T>> Children { get; }

Property Value

IReadOnlyList<ITreeNode<T>>

Parent

Optional parent node.

ITreeNode<out T>? Parent { get; }

Property Value

ITreeNode<T>

Value

Underlying value.

T Value { get; }

Property Value

T