Compartilhar via


MvcXmlMvcBuilderExtensions.AddXmlSerializerFormatters Método

Definição

Sobrecargas

AddXmlSerializerFormatters(IMvcBuilder)

Adiciona os formatadores do Serializador XML ao MVC.

AddXmlSerializerFormatters(IMvcBuilder, Action<MvcXmlOptions>)

Adiciona os formatadores do Serializador XML ao MVC.

AddXmlSerializerFormatters(IMvcBuilder)

Origem:
MvcXmlMvcBuilderExtensions.cs
Origem:
MvcXmlMvcBuilderExtensions.cs
Origem:
MvcXmlMvcBuilderExtensions.cs

Adiciona os formatadores do Serializador XML ao 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

Retornos

O IMvcBuilder.

Aplica-se a

AddXmlSerializerFormatters(IMvcBuilder, Action<MvcXmlOptions>)

Origem:
MvcXmlMvcBuilderExtensions.cs
Origem:
MvcXmlMvcBuilderExtensions.cs

Adiciona os formatadores do Serializador XML ao 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>

O MvcXmlOptions que precisa ser configurado.

Retornos

O IMvcBuilder.

Aplica-se a