Method GetMessage
- Namespace
- Ploch.CommandLine.Spectre.Output
- Assembly
- Ploch.CommandLine.Spectre.dll
GetMessage(IConvertible?, IMessageFormatterProcessor?, IFormatProvider?)
Formats an IConvertible message into a string representation.
public override string GetMessage(IConvertible? message, IMessageFormatterProcessor? formatterProcessor = null, IFormatProvider? formatProvider = null)
Parameters
messageIConvertibleThe message to format. Can be null.
formatterProcessorIMessageFormatterProcessorOptional formatter processor that can be used for additional formatting operations. Can be null.
formatProviderIFormatProviderThe format provider to apply, or null to use the current culture.