Partilhar via


MvcXmlMvcCoreBuilderExtensions.AddXmlSerializerFormatters Método

Definição

Sobrecargas

AddXmlSerializerFormatters(IMvcCoreBuilder)

Adiciona os formatadores do Serializador XML ao MVC.

AddXmlSerializerFormatters(IMvcCoreBuilder, Action<MvcXmlOptions>)

Adiciona os formatadores do Serializador XML ao MVC.

AddXmlSerializerFormatters(IMvcCoreBuilder)

Origem:
MvcXmlMvcCoreBuilderExtensions.cs
Origem:
MvcXmlMvcCoreBuilderExtensions.cs
Origem:
MvcXmlMvcCoreBuilderExtensions.cs

Adiciona os formatadores do Serializador XML ao MVC.

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

Parâmetros

Retornos

O IMvcCoreBuilder.

Aplica-se a

AddXmlSerializerFormatters(IMvcCoreBuilder, Action<MvcXmlOptions>)

Origem:
MvcXmlMvcCoreBuilderExtensions.cs
Origem:
MvcXmlMvcCoreBuilderExtensions.cs

Adiciona os formatadores do Serializador XML ao MVC.

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

Parâmetros

setupAction
Action<MvcXmlOptions>

O MvcXmlOptions que precisa ser configurado.

Retornos

O IMvcCoreBuilder.

Aplica-se a