Udostępnij za pośrednictwem


MvcXmlMvcCoreBuilderExtensions.AddXmlSerializerFormatters Metoda

Definicja

Przeciążenia

AddXmlSerializerFormatters(IMvcCoreBuilder)

Dodaje formatatory serializatora XML do wzorca MVC.

AddXmlSerializerFormatters(IMvcCoreBuilder, Action<MvcXmlOptions>)

Dodaje formatatory serializatora XML do wzorca MVC.

AddXmlSerializerFormatters(IMvcCoreBuilder)

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

Dodaje formatatory serializatora XML do wzorca MVC.

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

Parametry

builder
IMvcCoreBuilder

Element IMvcCoreBuilder.

Zwraca

Element IMvcCoreBuilder.

Dotyczy

AddXmlSerializerFormatters(IMvcCoreBuilder, Action<MvcXmlOptions>)

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

Dodaje formatatory serializatora XML do wzorca MVC.

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

Parametry

builder
IMvcCoreBuilder

Element IMvcCoreBuilder.

setupAction
Action<MvcXmlOptions>

Należy MvcXmlOptions skonfigurować te elementy.

Zwraca

Element IMvcCoreBuilder.

Dotyczy