共用方式為


XmlSerializerOutputFormatter 建構函式

定義

多載

XmlSerializerOutputFormatter()

使用預設 XmlWriterSettings 初始化 的新實例 XmlSerializerOutputFormatter

XmlSerializerOutputFormatter(ILoggerFactory)

使用預設 XmlWriterSettings 初始化 的新實例 XmlSerializerOutputFormatter

XmlSerializerOutputFormatter(XmlWriterSettings)

初始化 XmlSerializerOutputFormatter 的新執行個體。

XmlSerializerOutputFormatter(XmlWriterSettings, ILoggerFactory)

初始化 XmlSerializerOutputFormatter 的新執行個體

XmlSerializerOutputFormatter()

來源:
XmlSerializerOutputFormatter.cs
來源:
XmlSerializerOutputFormatter.cs
來源:
XmlSerializerOutputFormatter.cs

使用預設 XmlWriterSettings 初始化 的新實例 XmlSerializerOutputFormatter

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

適用於

XmlSerializerOutputFormatter(ILoggerFactory)

來源:
XmlSerializerOutputFormatter.cs
來源:
XmlSerializerOutputFormatter.cs
來源:
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)

來源:
XmlSerializerOutputFormatter.cs
來源:
XmlSerializerOutputFormatter.cs
來源:
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)

來源:
XmlSerializerOutputFormatter.cs
來源:
XmlSerializerOutputFormatter.cs
來源:
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

適用於