Udostępnij za pośrednictwem


MvcXmlMvcBuilderExtensions.AddXmlSerializerFormatters Metoda

Definicja

Przeciążenia

AddXmlSerializerFormatters(IMvcBuilder)

Dodaje formatatory serializatora XML do wzorca MVC.

AddXmlSerializerFormatters(IMvcBuilder, Action<MvcXmlOptions>)

Dodaje formatatory serializatora XML do wzorca MVC.

AddXmlSerializerFormatters(IMvcBuilder)

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

Dodaje formatatory serializatora XML do wzorca MVC.

public static Microsoft.Extensions.DependencyInjection.IMvcBuilder AddXmlSerializerFormatters (this Microsoft.Extensions.DependencyInjection.IMvcBuilder builder);
static member AddXmlSerializerFormatters : Microsoft.Extensions.DependencyInjection.IMvcBuilder -> Microsoft.Extensions.DependencyInjection.IMvcBuilder
<Extension()>
Public Function AddXmlSerializerFormatters (builder As IMvcBuilder) As IMvcBuilder

Parametry

builder
IMvcBuilder

Element IMvcBuilder.

Zwraca

Element IMvcBuilder.

Dotyczy

AddXmlSerializerFormatters(IMvcBuilder, Action<MvcXmlOptions>)

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

Dodaje formatatory serializatora XML do wzorca MVC.

public static Microsoft.Extensions.DependencyInjection.IMvcBuilder AddXmlSerializerFormatters (this Microsoft.Extensions.DependencyInjection.IMvcBuilder builder, Action<Microsoft.AspNetCore.Mvc.Formatters.Xml.MvcXmlOptions> setupAction);
static member AddXmlSerializerFormatters : Microsoft.Extensions.DependencyInjection.IMvcBuilder * Action<Microsoft.AspNetCore.Mvc.Formatters.Xml.MvcXmlOptions> -> Microsoft.Extensions.DependencyInjection.IMvcBuilder
<Extension()>
Public Function AddXmlSerializerFormatters (builder As IMvcBuilder, setupAction As Action(Of MvcXmlOptions)) As IMvcBuilder

Parametry

builder
IMvcBuilder

Element IMvcBuilder.

setupAction
Action<MvcXmlOptions>

Element MvcXmlOptions , który należy skonfigurować.

Zwraca

Element IMvcBuilder.

Dotyczy