XmlSerializerOutputFormatter Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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()
Initializes a new instance of XmlSerializerOutputFormatter with default XmlWriterSettings.
public:
XmlSerializerOutputFormatter();
public XmlSerializerOutputFormatter ();
Public Sub New ()
Applies to
XmlSerializerOutputFormatter(ILoggerFactory)
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)
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)
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.