Table of Contents

Method Write

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

Write(FormattableString?, IMessageFormatterProcessor?, IFormatProvider?)

Writes a formattable string message to the output as interpolated markup.

public override void Write(FormattableString? message, IMessageFormatterProcessor? formatterProcessor = null, IFormatProvider? formatProvider = null)

Parameters

message FormattableString

The formattable string message to write. Can be null, in which case nothing is written.

formatterProcessor IMessageFormatterProcessor

The processor used to format nested messages. Not used by this writer; see the class remarks.

formatProvider IFormatProvider

The format provider to apply, or null to use the current culture.