Class
ObjectInspector
ConsoleMonster.Data
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) #Inspects a value without allowing member getter failures to escape.
Parameters
- value object?
- The root value.
- options ConsoleMonster.Data.InspectorOptions? = null
- Inspection limits and filters.
- name string? = null
- Optional root label.
public static bool IsScalarValue(object? value) #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 object?
- The value.
Returns
bool True for a scalar.