Condividi tramite


MvcXmlMvcCoreBuilderExtensions.AddXmlSerializerFormatters Metodo

Definizione

Overload

AddXmlSerializerFormatters(IMvcCoreBuilder)

Aggiunge i formattatori serializzatori XML a MVC.

AddXmlSerializerFormatters(IMvcCoreBuilder, Action<MvcXmlOptions>)

Aggiunge i formattatori serializzatori XML a MVC.

AddXmlSerializerFormatters(IMvcCoreBuilder)

Origine:
MvcXmlMvcCoreBuilderExtensions.cs
Origine:
MvcXmlMvcCoreBuilderExtensions.cs
Origine:
MvcXmlMvcCoreBuilderExtensions.cs

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

Parametri

builder
IMvcCoreBuilder

Oggetto IMvcCoreBuilder.

Restituisce

Oggetto IMvcCoreBuilder.

Si applica a

AddXmlSerializerFormatters(IMvcCoreBuilder, Action<MvcXmlOptions>)

Origine:
MvcXmlMvcCoreBuilderExtensions.cs
Origine:
MvcXmlMvcCoreBuilderExtensions.cs

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

Parametri

builder
IMvcCoreBuilder

Oggetto IMvcCoreBuilder.

setupAction
Action<MvcXmlOptions>

Oggetto MvcXmlOptions che deve essere configurato.

Restituisce

Oggetto IMvcCoreBuilder.

Si applica a