Partilhar via


MvcXmlMvcBuilderExtensions.AddXmlDataContractSerializerFormatters Método

Definição

Sobrecargas

AddXmlDataContractSerializerFormatters(IMvcBuilder)

Adiciona os formatadores XML DataContractSerializer ao MVC.

AddXmlDataContractSerializerFormatters(IMvcBuilder, Action<MvcXmlOptions>)

Adiciona os formatadores XML DataContractSerializer ao MVC.

AddXmlDataContractSerializerFormatters(IMvcBuilder)

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

Adiciona os formatadores XML DataContractSerializer ao MVC.

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

Parâmetros

Retornos

O IMvcBuilder.

Aplica-se a

AddXmlDataContractSerializerFormatters(IMvcBuilder, Action<MvcXmlOptions>)

Origem:
MvcXmlMvcBuilderExtensions.cs
Origem:
MvcXmlMvcBuilderExtensions.cs

Adiciona os formatadores XML DataContractSerializer ao MVC.

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

Parâmetros

setupAction
Action<MvcXmlOptions>

O MvcXmlOptions que precisa ser configurado.

Retornos

O IMvcBuilder.

Aplica-se a