XmlFormatter Class
Formats XML values for human-readable output.
public sealed class XmlFormatter : ValueFormatter- Inheritance
ValueFormatterXmlFormatter
Constructors
| Name | Description |
|---|---|
| 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.csInitializes a new instance of the XmlFormatter class with default options.
public XmlFormatter()XmlFormatter(XmlFormatterOptions?)
XmlFormatter.csInitializes a new instance of the XmlFormatter class with the specified options.
public XmlFormatter(XmlFormatterOptions? options)Parameters
optionsXmlFormatterOptions?- The formatting options.
Methods
| Name | Description |
|---|---|
| Format(HumanReadableTextWriter, string?, HumanReadableSerializerOptions) |
Format(HumanReadableTextWriter, string?, HumanReadableSerializerOptions)
XmlFormatter.cspublic override void Format(HumanReadableTextWriter writer, string? value, HumanReadableSerializerOptions options)Parameters
writerHumanReadableTextWritervaluestring?optionsHumanReadableSerializerOptions
No documentation is available.