Skip to content
ConsoleMonster
Class

InspectCollection

ConsoleMonster.Data

Namespace
ConsoleMonster.Data
Assembly
ConsoleMonster
Modifiers
sealed

An enumerable represented by its listed items and optional tabular columns.

Inheritance

Constructors

public InspectCollection(string? name, string typeName, string path, IReadOnlyList<InspectNode> items, int? count, int omitted, IReadOnlyList<string>? columns, int hiddenColumns) #

Creates a collection node.

Parameters

name string? required
typeName string required
path string required
items System.Collections.Generic.IReadOnlyList<ConsoleMonster.Data.InspectNode> required
count int? required
omitted int required
columns System.Collections.Generic.IReadOnlyList<string>? required
hiddenColumns int required

Properties

public IReadOnlyList<InspectNode> Items { get; } #

Listed item nodes.

public int? Count { get; } #

Total count when available.

public int Omitted { get; } #

Unlisted item count, or -1 when additional items are known but total is unknown.

public IReadOnlyList<string>? Columns { get; } #

Tabular member columns, or null for ordinary collections.

public int HiddenColumns { get; } #

Number of tabular columns hidden by the configured cap.