Enum
CollectionDisplay
ConsoleMonster.Values
How a collection inside a cell or a title is written.
Inheritance
- Enum
- CollectionDisplay
Usage
Explore 7 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.
Returned or exposed by 5
- Field CollectionDisplay.Count
- Field CollectionDisplay.FirstN
- Field CollectionDisplay.Join
- Field CollectionDisplay.Lines
- Property ShapeOptions.Collections
Accepted by parameters 2
- Extension method ShapeOptions.Collections
- Method ShapeOptionsFluent.Collections
Inherited Methods
ToString 4 overloads
public string ToString(IFormatProvider? provider) #Inherited from Enum
Obsolete("The provider argument is not used. Use ToString() instead.")Parameters
- provider IFormatProvider?
Returns
stringpublic string ToString(string? format, IFormatProvider? provider) #Inherited from Enum
Obsolete("The provider argument is not used. Use ToString(String) instead.")Parameters
- format string?
- provider IFormatProvider?
Returns
stringValues
public const CollectionDisplay Join #The items joined with ShapeOptions.Separator, ending with "… +N" past ShapeOptions.ItemLimit (the default).
Value:
0public const CollectionDisplay Lines #One item per line, ending with "+N more" past ShapeOptions.ItemLimit.
Value:
1public const CollectionDisplay FirstN #The first ShapeOptions.ItemLimit items joined, then "+N more".
Value:
2