Skip to content
ConsoleMonster

API Reference

Class

ObjectInspector

Namespace ConsoleMonster.Data
Assembly ConsoleMonster
Modifiers static

Builds a bounded, neutral tree from arbitrary objects for a presentation layer.

Inheritance

  • Object
  • ObjectInspector

Methods

public static InspectNode Inspect(Object? value, InspectorOptions? options = null, String? name = null) #
Returns: InspectNode

Inspects a value without allowing member getter failures to escape.

Parameters

value System.Object? requiredposition: 0
The root value.
options ConsoleMonster.Data.InspectorOptions? = null optionalposition: 1
Inspection limits and filters.
name System.String? = null optionalposition: 2
Optional root label.

Returns

A root inspection node.

public static Boolean IsScalarValue(Object? value) #
Returns: Boolean

Whether a value is shown as one value rather than as members: null, primitives, enums, strings, decimals, dates, durations, GUIDs, URIs, versions and types.

Parameters

value System.Object? requiredposition: 0
The value.

Returns

True for a scalar.