XmlDataContractSerializerOutputFormatter 构造函数

定义

重载

XmlDataContractSerializerOutputFormatter()

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

XmlDataContractSerializerOutputFormatter(ILoggerFactory)

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

XmlDataContractSerializerOutputFormatter(XmlWriterSettings)

初始化 XmlDataContractSerializerOutputFormatter 的新实例。

XmlDataContractSerializerOutputFormatter(XmlWriterSettings, ILoggerFactory)

初始化 XmlDataContractSerializerOutputFormatter 的新实例。

XmlDataContractSerializerOutputFormatter()

Source:
XmlDataContractSerializerOutputFormatter.cs
Source:
XmlDataContractSerializerOutputFormatter.cs
Source:
XmlDataContractSerializerOutputFormatter.cs

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

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

适用于

XmlDataContractSerializerOutputFormatter(ILoggerFactory)

Source:
XmlDataContractSerializerOutputFormatter.cs
Source:
XmlDataContractSerializerOutputFormatter.cs
Source:
XmlDataContractSerializerOutputFormatter.cs

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

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

参数

loggerFactory
ILoggerFactory

ILoggerFactory

适用于

XmlDataContractSerializerOutputFormatter(XmlWriterSettings)

Source:
XmlDataContractSerializerOutputFormatter.cs
Source:
XmlDataContractSerializerOutputFormatter.cs
Source:
XmlDataContractSerializerOutputFormatter.cs

初始化 XmlDataContractSerializerOutputFormatter 的新实例。

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

参数

writerSettings
XmlWriterSettings

要使用的 DataContractSerializer设置。

适用于

XmlDataContractSerializerOutputFormatter(XmlWriterSettings, ILoggerFactory)

Source:
XmlDataContractSerializerOutputFormatter.cs
Source:
XmlDataContractSerializerOutputFormatter.cs
Source:
XmlDataContractSerializerOutputFormatter.cs

初始化 XmlDataContractSerializerOutputFormatter 的新实例。

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

参数

writerSettings
XmlWriterSettings

要使用的 DataContractSerializer设置。

适用于