Skip to content
ConsoleMonster
Class

ExplorerNode

ConsoleMonster.Interactive

Namespace
ConsoleMonster.Interactive
Assembly
ConsoleMonster
Modifiers
sealed

A lazily read member of an object explorer; values are read at most once.

Inheritance

  • object
  • ExplorerNode

Usage

Explore 4 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by 4

Properties

public string Name { get; } #

The member name or collection index shown in the tree.

public string Path { get; } #

The quoted PowerShell expression locating this member from the root.

public ExplorerNode? Parent { get; } #

The containing member, or null at the root.

public object? Value { get; } #

The original member value, read once when first displayed or selected.

public string? Error { get; private set; } #

The getter or enumeration failure, if a read failed.

public bool IsCycle { get; } #

Whether this member points back to an ancestor.

public bool CanExpand { get; } #

Whether the node can be opened; cycles, depth limits and scalar values stay leaves.

public string Summary { get; } #

A plain, bounded summary suitable for search and display.

public bool HasMore { get; private set; } #

Whether collection or node limits left more children undisplayed.

public IReadOnlyList<ExplorerNode> Children { get; } #

Reads only this level, caching a bounded page without visiting grandchildren.