Lines<T>
A class in TavernLib, TavernLib.ModulePorts.
A list for console answers: one item per line in a text console, and a JSON array in TavernKeeper. Return it instead of a plain IEnumerable.
- Listed in TavernLib.ModulePorts
- Inherits or implements
List<T> - Documented in Console
Constructors
| Member | What it is |
|---|---|
Lines(IEnumerable<T> items) | Copies the items into a list that a text console prints one per line. |
Methods
| Member | What it is |
|---|---|
override string ToString() | Each item on its own line, or None when the list is empty. |
Used in
Members of other types that take, return or hold a Lines<T>: