Skip to content
ConsoleMonster

API Reference

Class

InspectorTree

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 Format-ConsoleTree.

Inheritance

  • Object
  • InspectorTree

Methods

public static Tree Build(InspectNode root, String? title = null) #
Returns: Tree

Builds a tree for an inspection root.

Parameters

root ConsoleMonster.Data.InspectNode requiredposition: 0
The root.
title System.String? = null optionalposition: 1
The root label, or null for the type name.

Returns

The tree.