Skip to content
ConsoleMonster

API Reference

Enum

CollectionDisplay

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

How a collection inside a cell or a title is written.

Inheritance

  • Enum
  • CollectionDisplay

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 CollectionDisplay Join #

The items joined with ShapeOptions.Separator, ending with "… +N" past ShapeOptions.ItemLimit (the default).

Value: 0
public const CollectionDisplay Lines #

One item per line, ending with "+N more" past ShapeOptions.ItemLimit.

Value: 1
public const CollectionDisplay FirstN #

The first ShapeOptions.ItemLimit items joined, then "+N more".

Value: 2
public const CollectionDisplay Count #

Only the number of items ("3 items").

Value: 3