Table of Contents

Class XmlSerializationOutputFormatter

Namespace
Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml
Assembly
Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml.dll

This class handles serialization of objects to XML using XmlFormatter.

public class XmlSerializationOutputFormatter : StreamOutputFormatter<XmlFormatter, XmlFormatterOptions>, IOutputFormatter, IApiResponseTypeMetadataProvider, IConfigurable<XmlFormatterOptions>
Inheritance
Object
OutputFormatter
TextOutputFormatter
XmlSerializationOutputFormatter
Implements
IOutputFormatter
IApiResponseTypeMetadataProvider
Inherited Members
TextOutputFormatter.SelectCharacterEncoding(OutputFormatterWriteContext)
TextOutputFormatter.WriteAsync(OutputFormatterWriteContext)
TextOutputFormatter.WriteResponseBodyAsync(OutputFormatterWriteContext)
TextOutputFormatter.WriteResponseBodyAsync(OutputFormatterWriteContext, Encoding)
TextOutputFormatter.SupportedEncodings
OutputFormatter.CanWriteType(Type)
OutputFormatter.GetSupportedContentTypes(String, Type)
OutputFormatter.CanWriteResult(OutputFormatterCanWriteContext)
OutputFormatter.WriteResponseHeaders(OutputFormatterWriteContext)
OutputFormatter.SupportedMediaTypes
Extension Methods

Constructors

XmlSerializationOutputFormatter(XmlFormatterOptions)

Initializes a new instance of the XmlSerializationOutputFormatter class.

public XmlSerializationOutputFormatter(XmlFormatterOptions options)

Parameters

options XmlFormatterOptions

The XmlFormatterOptions which need to be configured.