Condividi tramite


MvcXmlMvcCoreBuilderExtensions.AddXmlDataContractSerializerFormatters Metodo

Definizione

Overload

AddXmlDataContractSerializerFormatters(IMvcCoreBuilder)

Aggiunge i formattatori XML DataContractSerializer a MVC.

AddXmlDataContractSerializerFormatters(IMvcCoreBuilder, Action<MvcXmlOptions>)

Aggiunge i formattatori XML DataContractSerializer a MVC.

AddXmlDataContractSerializerFormatters(IMvcCoreBuilder)

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

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

Parametri

builder
IMvcCoreBuilder

Oggetto IMvcCoreBuilder.

Restituisce

Oggetto IMvcCoreBuilder.

Si applica a

AddXmlDataContractSerializerFormatters(IMvcCoreBuilder, Action<MvcXmlOptions>)

Origine:
MvcXmlMvcCoreBuilderExtensions.cs
Origine:
MvcXmlMvcCoreBuilderExtensions.cs

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

Parametri

builder
IMvcCoreBuilder

Oggetto IMvcCoreBuilder.

setupAction
Action<MvcXmlOptions>

Oggetto MvcXmlOptions che deve essere configurato.

Restituisce

Oggetto IMvcCoreBuilder.

Si applica a