MvcXmlMvcBuilderExtensions.AddXmlSerializerFormatters Metodo

Definizione

Overload

AddXmlSerializerFormatters(IMvcBuilder)

Aggiunge i formattatori serializzatori XML a MVC.

AddXmlSerializerFormatters(IMvcBuilder, Action<MvcXmlOptions>)

Aggiunge i formattatori serializzatori XML a MVC.

AddXmlSerializerFormatters(IMvcBuilder)

Origine:
MvcXmlMvcBuilderExtensions.cs
Origine:
MvcXmlMvcBuilderExtensions.cs
Origine:
MvcXmlMvcBuilderExtensions.cs

Aggiunge i formattatori serializzatori 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

Parametri

builder
IMvcBuilder

Oggetto IMvcBuilder.

Restituisce

Oggetto IMvcBuilder.

Si applica a

AddXmlSerializerFormatters(IMvcBuilder, Action<MvcXmlOptions>)

Origine:
MvcXmlMvcBuilderExtensions.cs
Origine:
MvcXmlMvcBuilderExtensions.cs

Aggiunge i formattatori serializzatori 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

Parametri

builder
IMvcBuilder

Oggetto IMvcBuilder.

setupAction
Action<MvcXmlOptions>

Oggetto MvcXmlOptions che deve essere configurato.

Restituisce

Oggetto IMvcBuilder.

Si applica a