MvcXmlMvcBuilderExtensions.AddXmlSerializerFormatters Methode

Definition

Überlädt

AddXmlSerializerFormatters(IMvcBuilder)

Fügt MVC die XML-Serialisierungsformatierer hinzu.

AddXmlSerializerFormatters(IMvcBuilder, Action<MvcXmlOptions>)

Fügt MVC die XML-Serialisierungsformatierer hinzu.

AddXmlSerializerFormatters(IMvcBuilder)

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

Fügt MVC die XML-Serialisierungsformatierer hinzu.

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

Parameter

builder
IMvcBuilder

Die IMvcBuilder.

Gibt zurück

Die IMvcBuilder.

Gilt für:

AddXmlSerializerFormatters(IMvcBuilder, Action<MvcXmlOptions>)

Quelle:
MvcXmlMvcBuilderExtensions.cs
Quelle:
MvcXmlMvcBuilderExtensions.cs

Fügt MVC die XML-Serialisierungsformatierer hinzu.

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

Parameter

builder
IMvcBuilder

Die IMvcBuilder.

setupAction
Action<MvcXmlOptions>

Die MvcXmlOptions , die konfiguriert werden müssen.

Gibt zurück

Die IMvcBuilder.

Gilt für: