MvcXmlMvcBuilderExtensions.AddXmlDataContractSerializerFormatters Metoda
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Przeciążenia
AddXmlDataContractSerializerFormatters(IMvcBuilder) |
Dodaje formatatory XML DataContractSerializer do mvC. |
AddXmlDataContractSerializerFormatters(IMvcBuilder, Action<MvcXmlOptions>) |
Dodaje formatatory XML DataContractSerializer do mvC. |
AddXmlDataContractSerializerFormatters(IMvcBuilder)
Dodaje formatatory XML DataContractSerializer do mvC.
public static Microsoft.Extensions.DependencyInjection.IMvcBuilder AddXmlDataContractSerializerFormatters (this Microsoft.Extensions.DependencyInjection.IMvcBuilder builder);
static member AddXmlDataContractSerializerFormatters : Microsoft.Extensions.DependencyInjection.IMvcBuilder -> Microsoft.Extensions.DependencyInjection.IMvcBuilder
<Extension()>
Public Function AddXmlDataContractSerializerFormatters (builder As IMvcBuilder) As IMvcBuilder
Parametry
- builder
- IMvcBuilder
Element IMvcBuilder.
Zwraca
Element IMvcBuilder.
Dotyczy
AddXmlDataContractSerializerFormatters(IMvcBuilder, Action<MvcXmlOptions>)
Dodaje formatatory XML DataContractSerializer do mvC.
public static Microsoft.Extensions.DependencyInjection.IMvcBuilder AddXmlDataContractSerializerFormatters (this Microsoft.Extensions.DependencyInjection.IMvcBuilder builder, Action<Microsoft.AspNetCore.Mvc.Formatters.Xml.MvcXmlOptions> setupAction);
static member AddXmlDataContractSerializerFormatters : Microsoft.Extensions.DependencyInjection.IMvcBuilder * Action<Microsoft.AspNetCore.Mvc.Formatters.Xml.MvcXmlOptions> -> Microsoft.Extensions.DependencyInjection.IMvcBuilder
<Extension()>
Public Function AddXmlDataContractSerializerFormatters (builder As IMvcBuilder, setupAction As Action(Of MvcXmlOptions)) As IMvcBuilder
Parametry
- builder
- IMvcBuilder
Element IMvcBuilder.
- setupAction
- Action<MvcXmlOptions>
Należy MvcXmlOptions skonfigurować te elementy.
Zwraca
Element IMvcBuilder.