MvcXmlMvcBuilderExtensions.AddXmlSerializerFormatters Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
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)
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
- builder
- IMvcBuilder
Devoluciones
Se aplica a
AddXmlSerializerFormatters(IMvcBuilder, Action<MvcXmlOptions>)
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
- builder
- IMvcBuilder
- setupAction
- Action<MvcXmlOptions>
que MvcXmlOptions se debe configurar.