XmlSerializerOutputFormatter 构造函数

定义

重载

XmlSerializerOutputFormatter()

使用默认 XmlWriterSettings初始化 的新实例XmlSerializerOutputFormatter

XmlSerializerOutputFormatter(ILoggerFactory)

使用默认 XmlWriterSettings初始化 的新实例XmlSerializerOutputFormatter

XmlSerializerOutputFormatter(XmlWriterSettings)

初始化 XmlSerializerOutputFormatter 的新实例。

XmlSerializerOutputFormatter(XmlWriterSettings, ILoggerFactory)

初始化 XmlSerializerOutputFormatter 类的新实例。

XmlSerializerOutputFormatter()

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

使用默认 XmlWriterSettings初始化 的新实例XmlSerializerOutputFormatter

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

适用于

XmlSerializerOutputFormatter(ILoggerFactory)

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

使用默认 XmlWriterSettings初始化 的新实例XmlSerializerOutputFormatter

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)

参数

loggerFactory
ILoggerFactory

ILoggerFactory

适用于

XmlSerializerOutputFormatter(XmlWriterSettings)

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

初始化 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)

参数

writerSettings
XmlWriterSettings

要使用的 XmlSerializer设置。

适用于

XmlSerializerOutputFormatter(XmlWriterSettings, ILoggerFactory)

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

初始化 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)

参数

writerSettings
XmlWriterSettings

要使用的 XmlSerializer设置。

loggerFactory
ILoggerFactory

ILoggerFactory

适用于