MvcXmlMvcCoreBuilderExtensions.AddXmlDataContractSerializerFormatters Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
AddXmlDataContractSerializerFormatters(IMvcCoreBuilder) |
Aggiunge i formattatori XML DataContractSerializer a MVC. |
AddXmlDataContractSerializerFormatters(IMvcCoreBuilder, Action<MvcXmlOptions>) |
Aggiunge i formattatori XML DataContractSerializer a MVC. |
AddXmlDataContractSerializerFormatters(IMvcCoreBuilder)
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>)
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.