MvcXmlMvcCoreBuilderExtensions.AddXmlDataContractSerializerFormatters Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
AddXmlDataContractSerializerFormatters(IMvcCoreBuilder) |
Adiciona os formatadores XML DataContractSerializer ao MVC. |
AddXmlDataContractSerializerFormatters(IMvcCoreBuilder, Action<MvcXmlOptions>) |
Adiciona os formatadores XML DataContractSerializer ao MVC. |
AddXmlDataContractSerializerFormatters(IMvcCoreBuilder)
Adiciona os formatadores XML DataContractSerializer ao MVC.
public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder AddXmlDataContractSerializerFormatters (this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder);
static member AddXmlDataContractSerializerFormatters : Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder -> Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder
<Extension()>
Public Function AddXmlDataContractSerializerFormatters (builder As IMvcCoreBuilder) As IMvcCoreBuilder
Parâmetros
- builder
- IMvcCoreBuilder
Retornos
Aplica-se a
AddXmlDataContractSerializerFormatters(IMvcCoreBuilder, Action<MvcXmlOptions>)
Adiciona os formatadores XML DataContractSerializer ao MVC.
public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder AddXmlDataContractSerializerFormatters (this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder, Action<Microsoft.AspNetCore.Mvc.Formatters.Xml.MvcXmlOptions> setupAction);
static member AddXmlDataContractSerializerFormatters : Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder * Action<Microsoft.AspNetCore.Mvc.Formatters.Xml.MvcXmlOptions> -> Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder
<Extension()>
Public Function AddXmlDataContractSerializerFormatters (builder As IMvcCoreBuilder, setupAction As Action(Of MvcXmlOptions)) As IMvcCoreBuilder
Parâmetros
- builder
- IMvcCoreBuilder
- setupAction
- Action<MvcXmlOptions>
O MvcXmlOptions que precisa ser configurado.