Class
ColumnInference
ConsoleMonster.Data
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 int hiddenColumns) #Returns the ordered union of member names for tabular items, or an empty list for non-tabular items.
Parameters
- items System.Collections.IEnumerable
- options ConsoleMonster.Data.InspectorOptions
- hiddenColumns int
Returns
IReadOnlyList<string>public static bool IsScalar(object? value) #Returns whether a value is one of the inspector's supported scalar types.
Parameters
- value object?
Returns
bool