XmlFormatter Class

Formats XML values for human-readable output.

public sealed class XmlFormatter : ValueFormatter
Inheritance
ValueFormatter XmlFormatter

Constructors

NameDescription
XmlFormatter()Initializes a new instance of the XmlFormatter class with default options.
XmlFormatter(XmlFormatterOptions?)Initializes a new instance of the XmlFormatter class with the specified options.

XmlFormatter overloads

XmlFormatter()

XmlFormatter.cs

Initializes a new instance of the XmlFormatter class with default options.

public XmlFormatter()

XmlFormatter(XmlFormatterOptions?)

XmlFormatter.cs

Initializes a new instance of the XmlFormatter class with the specified options.

public XmlFormatter(XmlFormatterOptions? options)
Parameters
options XmlFormatterOptions?
The formatting options.

Methods

NameDescription
Format(HumanReadableTextWriter, string?, HumanReadableSerializerOptions)

Format(HumanReadableTextWriter, string?, HumanReadableSerializerOptions)

XmlFormatter.cs
public override void Format(HumanReadableTextWriter writer, string? value, HumanReadableSerializerOptions options)

No documentation is available.