Table of Contents

Class StringMessageFormatter

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

Formats string messages, substituting an empty string for null.

public class StringMessageFormatter : TypeMessageFormatter<string>, IMessageFormatter<string>, IMessageFormatter, IMessageHandler
Inheritance
StringMessageFormatter
Implements
Inherited Members

Methods

GetMessage(string?, IMessageFormatterProcessor?, IFormatProvider?)

Returns the message unchanged, or an empty string when it is null.