Table of Contents

Method Write

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

Write(string?, IMessageFormatterProcessor?, IFormatProvider?)

Writes the message to the console, substituting an empty string for null.

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

Parameters

message string

The message to write.

formatterProcessor IMessageFormatterProcessor

The processor used to format nested messages. Not used by this writer.

formatProvider IFormatProvider

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