MvcXmlMvcBuilderExtensions.AddXmlDataContractSerializerFormatters Methode

Definition

Überlädt

AddXmlDataContractSerializerFormatters(IMvcBuilder)

Fügt MVC die XML-Formatierer DataContractSerializer hinzu.

AddXmlDataContractSerializerFormatters(IMvcBuilder, Action<MvcXmlOptions>)

Fügt MVC die XML-Formatierer DataContractSerializer hinzu.

AddXmlDataContractSerializerFormatters(IMvcBuilder)

Quelle:
MvcXmlMvcBuilderExtensions.cs
Quelle:
MvcXmlMvcBuilderExtensions.cs
Quelle:
MvcXmlMvcBuilderExtensions.cs

Fügt MVC die XML-Formatierer DataContractSerializer hinzu.

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

Parameter

builder
IMvcBuilder

Die IMvcBuilder.

Gibt zurück

Die IMvcBuilder.

Gilt für:

AddXmlDataContractSerializerFormatters(IMvcBuilder, Action<MvcXmlOptions>)

Quelle:
MvcXmlMvcBuilderExtensions.cs
Quelle:
MvcXmlMvcBuilderExtensions.cs

Fügt MVC die XML-Formatierer DataContractSerializer hinzu.

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

Parameter

builder
IMvcBuilder

Die IMvcBuilder.

setupAction
Action<MvcXmlOptions>

Der MvcXmlOptions , der konfiguriert werden muss.

Gibt zurück

Die IMvcBuilder.

Gilt für: