Skip to content
ConsoleMonster
Class

InspectorTree

ConsoleMonster.Widgets

Namespace
ConsoleMonster.Widgets
Assembly
ConsoleMonster
Modifiers
static

Builds a Tree from an inspection: objects and collections become branches (with their type or item count), scalar members become leaves showing the presented value. Used by Show-Console -View Tree.

Inheritance

  • object
  • InspectorTree

Methods

public static Tree Build(InspectNode root, string? title = null) #

Builds a tree for an inspection root.

Parameters

root ConsoleMonster.Data.InspectNode required
The root.
title string? = null optional
The root label, or null for the type name.

Returns

Tree The tree.