Skip to content
ConsoleMonster

API Reference

Class

ColumnInference

Namespace ConsoleMonster.Data
Assembly ConsoleMonster
Modifiers static

Infers whether a sequence has record-like items and which columns to display.

Inheritance

  • Object
  • ColumnInference

Methods

public static IReadOnlyList<String> Infer(IEnumerable items, InspectorOptions options, out Int32 hiddenColumns) #
Returns: IReadOnlyList<String>

Returns the ordered union of member names for tabular items, or an empty list for non-tabular items.

Parameters

items System.Collections.IEnumerable requiredposition: 0
options ConsoleMonster.Data.InspectorOptions requiredposition: 1
hiddenColumns System.Int32 requiredposition: 2
public static Boolean IsScalar(Object? value) #
Returns: Boolean

Returns whether a value is one of the inspector's supported scalar types.

Parameters

value System.Object? requiredposition: 0