Interface IMessageFormatterProcessor
- Namespace
- Ploch.CommandLine.Spectre.Output
- Assembly
- Ploch.CommandLine.Spectre.dll
Defines methods for processing and formatting messages. This interface allows extracting and writing formatted representations of messages, with optional markup tags applied.
public interface IMessageFormatterProcessor
Methods
- GetMessageText(FormattableString?, string?, IFormatProvider?)
Formats a message as a FormattableString with optional markup.
- GetMessageText<TMessage>(TMessage?, string?, IFormatProvider?)
Formats a message of type
TMessagewith optional markup.
- WriteMessage<TMessage>(TMessage, IFormatProvider?)
Writes a message of type
TMessageto the output.