Partager via


XmlSerializerOutputFormatter Constructeurs

Définition

Surcharges

XmlSerializerOutputFormatter()

Initialise une nouvelle instance de avec la XmlSerializerOutputFormatter valeur par défaut XmlWriterSettings.

XmlSerializerOutputFormatter(ILoggerFactory)

Initialise une nouvelle instance de avec la XmlSerializerOutputFormatter valeur par défaut XmlWriterSettings.

XmlSerializerOutputFormatter(XmlWriterSettings)

Initialise une nouvelle instance de XmlSerializerOutputFormatter.

XmlSerializerOutputFormatter(XmlWriterSettings, ILoggerFactory)

Initialise une nouvelle instance de la classe XmlSerializerOutputFormatter.

XmlSerializerOutputFormatter()

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

Initialise une nouvelle instance de avec la XmlSerializerOutputFormatter valeur par défaut XmlWriterSettings.

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

S’applique à

XmlSerializerOutputFormatter(ILoggerFactory)

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

Initialise une nouvelle instance de avec la XmlSerializerOutputFormatter valeur par défaut 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)

Paramètres

loggerFactory
ILoggerFactory

L’ILoggerFactoryopérateur

S’applique à

XmlSerializerOutputFormatter(XmlWriterSettings)

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

Initialise une nouvelle instance de 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)

Paramètres

writerSettings
XmlWriterSettings

Paramètres à utiliser par .XmlSerializer

S’applique à

XmlSerializerOutputFormatter(XmlWriterSettings, ILoggerFactory)

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

Initialise une nouvelle instance de la classe 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)

Paramètres

writerSettings
XmlWriterSettings

Paramètres à utiliser par .XmlSerializer

loggerFactory
ILoggerFactory

L’ILoggerFactoryopérateur

S’applique à