Class EnumerableMessageWriter
- Namespace
- Ploch.CommandLine.Spectre.Output
- Assembly
- Ploch.CommandLine.Spectre.dll
A message writer that handles writing enumerable collections to the output.
public class EnumerableMessageWriter : TypeMessageWriter<IEnumerable>, IMessageWriter<IEnumerable>, IMessageWriter, IMessageHandler
- Inheritance
-
EnumerableMessageWriter
- Implements
- Inherited Members
Constructors
- EnumerableMessageWriter(IAnsiConsole)
A message writer that handles writing enumerable collections to the output.
Properties
- WritesLineTerminator
Gets a value indicating whether this writer ends its output with a line terminator.
Methods
- Write(IEnumerable?, IMessageFormatterProcessor?, IFormatProvider?)
Writes each item in the enumerable collection to the output.