Compartir a través de


MvcXmlMvcBuilderExtensions.AddXmlSerializerFormatters Método

Definición

Sobrecargas

AddXmlSerializerFormatters(IMvcBuilder)

Agrega los formateadores de serializador XML a MVC.

AddXmlSerializerFormatters(IMvcBuilder, Action<MvcXmlOptions>)

Agrega los formateadores de serializador XML a MVC.

AddXmlSerializerFormatters(IMvcBuilder)

Source:
MvcXmlMvcBuilderExtensions.cs
Source:
MvcXmlMvcBuilderExtensions.cs
Source:
MvcXmlMvcBuilderExtensions.cs

Agrega los formateadores de serializador XML a MVC.

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

Parámetros

Devoluciones

IMvcBuilder.

Se aplica a

AddXmlSerializerFormatters(IMvcBuilder, Action<MvcXmlOptions>)

Source:
MvcXmlMvcBuilderExtensions.cs
Source:
MvcXmlMvcBuilderExtensions.cs

Agrega los formateadores de serializador XML a MVC.

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

Parámetros

setupAction
Action<MvcXmlOptions>

que MvcXmlOptions se debe configurar.

Devoluciones

IMvcBuilder.

Se aplica a