Table of Contents

Interface ITreeNode<TItem>

Namespace
BlazOrbit.Components
Assembly
BlazOrbit.dll

Strongly-typed tree node carrying a per-node item payload.

public interface ITreeNode<TItem> : ITreeNode

Type Parameters

TItem
Inherited Members

Properties

Children

Direct child nodes, typed with the same payload.

IReadOnlyList<ITreeNode<TItem>> Children { get; }

Property Value

IReadOnlyList<ITreeNode<TItem>>

Item

Payload attached to the node (e.g. the source domain object).

TItem? Item { get; }

Property Value

TItem

Parent

Parent node, or null for root nodes.

ITreeNode<TItem>? Parent { get; }

Property Value

ITreeNode<TItem>