Udostępnij za pośrednictwem


MvcXmlMvcBuilderExtensions.AddXmlDataContractSerializerFormatters Metoda

Definicja

Przeciążenia

AddXmlDataContractSerializerFormatters(IMvcBuilder)

Dodaje formatatory XML DataContractSerializer do mvC.

AddXmlDataContractSerializerFormatters(IMvcBuilder, Action<MvcXmlOptions>)

Dodaje formatatory XML DataContractSerializer do mvC.

AddXmlDataContractSerializerFormatters(IMvcBuilder)

Źródło:
MvcXmlMvcBuilderExtensions.cs
Źródło:
MvcXmlMvcBuilderExtensions.cs
Źródło:
MvcXmlMvcBuilderExtensions.cs

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>)

Źródło:
MvcXmlMvcBuilderExtensions.cs
Źródło:
MvcXmlMvcBuilderExtensions.cs

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.

Dotyczy