Share via


XmlSerializerOutputFormatter Constructors

Definition

Overloads

XmlSerializerOutputFormatter()

Initializes a new instance of XmlSerializerOutputFormatter with default XmlWriterSettings.

XmlSerializerOutputFormatter(ILoggerFactory)

Initializes a new instance of XmlSerializerOutputFormatter with default XmlWriterSettings.

XmlSerializerOutputFormatter(XmlWriterSettings)

Initializes a new instance of XmlSerializerOutputFormatter.

XmlSerializerOutputFormatter(XmlWriterSettings, ILoggerFactory)

Initializes a new instance of XmlSerializerOutputFormatter

XmlSerializerOutputFormatter()

Source:
XmlSerializerOutputFormatter.cs
Source:
XmlSerializerOutputFormatter.cs
Source:
XmlSerializerOutputFormatter.cs

Initializes a new instance of XmlSerializerOutputFormatter with default XmlWriterSettings.

public:
 XmlSerializerOutputFormatter();
public XmlSerializerOutputFormatter ();
Public Sub New ()

Applies to

XmlSerializerOutputFormatter(ILoggerFactory)

Source:
XmlSerializerOutputFormatter.cs
Source:
XmlSerializerOutputFormatter.cs
Source:
XmlSerializerOutputFormatter.cs

Initializes a new instance of XmlSerializerOutputFormatter with default XmlWriterSettings.

public:
 XmlSerializerOutputFormatter(Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory);
public XmlSerializerOutputFormatter (Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Microsoft.AspNetCore.Mvc.Formatters.XmlSerializerOutputFormatter : Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.AspNetCore.Mvc.Formatters.XmlSerializerOutputFormatter
Public Sub New (loggerFactory As ILoggerFactory)

Parameters

loggerFactory
ILoggerFactory

The ILoggerFactory.

Applies to

XmlSerializerOutputFormatter(XmlWriterSettings)

Source:
XmlSerializerOutputFormatter.cs
Source:
XmlSerializerOutputFormatter.cs
Source:
XmlSerializerOutputFormatter.cs

Initializes a new instance of XmlSerializerOutputFormatter.

public:
 XmlSerializerOutputFormatter(System::Xml::XmlWriterSettings ^ writerSettings);
public XmlSerializerOutputFormatter (System.Xml.XmlWriterSettings writerSettings);
new Microsoft.AspNetCore.Mvc.Formatters.XmlSerializerOutputFormatter : System.Xml.XmlWriterSettings -> Microsoft.AspNetCore.Mvc.Formatters.XmlSerializerOutputFormatter
Public Sub New (writerSettings As XmlWriterSettings)

Parameters

writerSettings
XmlWriterSettings

The settings to be used by the XmlSerializer.

Applies to

XmlSerializerOutputFormatter(XmlWriterSettings, ILoggerFactory)

Source:
XmlSerializerOutputFormatter.cs
Source:
XmlSerializerOutputFormatter.cs
Source:
XmlSerializerOutputFormatter.cs

Initializes a new instance of XmlSerializerOutputFormatter

public:
 XmlSerializerOutputFormatter(System::Xml::XmlWriterSettings ^ writerSettings, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory);
public XmlSerializerOutputFormatter (System.Xml.XmlWriterSettings writerSettings, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Microsoft.AspNetCore.Mvc.Formatters.XmlSerializerOutputFormatter : System.Xml.XmlWriterSettings * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.AspNetCore.Mvc.Formatters.XmlSerializerOutputFormatter
Public Sub New (writerSettings As XmlWriterSettings, loggerFactory As ILoggerFactory)

Parameters

writerSettings
XmlWriterSettings

The settings to be used by the XmlSerializer.

loggerFactory
ILoggerFactory

The ILoggerFactory.

Applies to