Freigeben über


MvcXmlMvcCoreBuilderExtensions.AddXmlSerializerFormatters Methode

Definition

Überlädt

AddXmlSerializerFormatters(IMvcCoreBuilder)

Fügt MVC die XML-Serialisierungsformatierer hinzu.

AddXmlSerializerFormatters(IMvcCoreBuilder, Action<MvcXmlOptions>)

Fügt MVC die XML-Serialisierungsformatierer hinzu.

AddXmlSerializerFormatters(IMvcCoreBuilder)

Quelle:
MvcXmlMvcCoreBuilderExtensions.cs
Quelle:
MvcXmlMvcCoreBuilderExtensions.cs
Quelle:
MvcXmlMvcCoreBuilderExtensions.cs

Fügt MVC die XML-Serialisierungsformatierer hinzu.

public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder AddXmlSerializerFormatters (this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder);
static member AddXmlSerializerFormatters : Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder -> Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder
<Extension()>
Public Function AddXmlSerializerFormatters (builder As IMvcCoreBuilder) As IMvcCoreBuilder

Parameter

Gibt zurück

Die IMvcCoreBuilder.

Gilt für:

AddXmlSerializerFormatters(IMvcCoreBuilder, Action<MvcXmlOptions>)

Quelle:
MvcXmlMvcCoreBuilderExtensions.cs
Quelle:
MvcXmlMvcCoreBuilderExtensions.cs

Fügt MVC die XML-Serialisierungsformatierer hinzu.

public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder AddXmlSerializerFormatters (this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder, Action<Microsoft.AspNetCore.Mvc.Formatters.Xml.MvcXmlOptions> setupAction);
static member AddXmlSerializerFormatters : Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder * Action<Microsoft.AspNetCore.Mvc.Formatters.Xml.MvcXmlOptions> -> Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder
<Extension()>
Public Function AddXmlSerializerFormatters (builder As IMvcCoreBuilder, setupAction As Action(Of MvcXmlOptions)) As IMvcCoreBuilder

Parameter

setupAction
Action<MvcXmlOptions>

Die MvcXmlOptions , die konfiguriert werden müssen.

Gibt zurück

Die IMvcCoreBuilder.

Gilt für: