Method GetMessage
- Namespace
- Ploch.CommandLine.Spectre.Output
- Assembly
- Ploch.CommandLine.Spectre.dll
GetMessage(string?, IMessageFormatterProcessor?, IFormatProvider?)
Returns the message unchanged, or an empty string when it is null.
public override string GetMessage(string? message, IMessageFormatterProcessor? formatterProcessor = null, IFormatProvider? formatProvider = null)
Parameters
messagestringThe message to format.
formatterProcessorIMessageFormatterProcessorThe processor used to format nested messages. Not used by this formatter.
formatProviderIFormatProviderThe format provider to apply, or null to use the current culture.