Class XmlSerializationOutputFormatter
- 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
-
OutputFormatterTextOutputFormatterXmlSerializationOutputFormatter
- Implements
-
IOutputFormatterIApiResponseTypeMetadataProvider
- Inherited Members
-
TextOutputFormatter.SelectCharacterEncoding(OutputFormatterWriteContext)TextOutputFormatter.WriteAsync(OutputFormatterWriteContext)TextOutputFormatter.WriteResponseBodyAsync(OutputFormatterWriteContext)TextOutputFormatter.WriteResponseBodyAsync(OutputFormatterWriteContext, Encoding)TextOutputFormatter.SupportedEncodingsOutputFormatter.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
XmlFormatterOptionsThe XmlFormatterOptions which need to be configured.