Table of Contents

Class EnumerableMessageFormatter

Namespace
Ploch.CommandLine.Spectre.Output
Assembly
Ploch.CommandLine.Spectre.dll

Formats IEnumerable objects into a string representation with each item on a new line prefixed with a pointing finger emoji.

public class EnumerableMessageFormatter : TypeMessageFormatter<IEnumerable>, IMessageFormatter<IEnumerable>, IMessageFormatter, IMessageHandler
Inheritance
EnumerableMessageFormatter
Implements
Inherited Members

Methods

GetMessage(IEnumerable?, IMessageFormatterProcessor?, IFormatProvider?)

Converts an IEnumerable collection into a formatted string representation. Each item in the collection is displayed on a new line with a pointing finger emoji prefix.