Skip to content
ConsoleMonster

API Reference

Enum

ValueShape

Namespace ConsoleMonster.Values
Assembly ConsoleMonster
Base Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers sealed

What a value is for display purposes, as decided by ValueShaper.ShapeOf.

Inheritance

  • Enum
  • ValueShape

Usage

Explore 5 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Values

public const ValueShape Empty #

Nothing to show: null, DBNull or an empty marker.

Value: 0
public const ValueShape Scalar #

One value shown as text: strings, numbers, dates, enums, GUIDs, versions, addresses, secure strings, byte arrays.

Value: 1
public const ValueShape Record #

A set of named fields: an object, a dictionary, a data row, an XML element or a JSON object.

Value: 2
public const ValueShape Collection #

A sequence of items: arrays, lists, data tables and views, JSON arrays (never a string).

Value: 3