Aracılığıyla paylaş


MvcXmlMvcCoreBuilderExtensions.AddXmlSerializerFormatters Yöntem

Tanım

Aşırı Yüklemeler

AddXmlSerializerFormatters(IMvcCoreBuilder)

MVC'ye XML Seri Hale Getirici biçimlendiricilerini ekler.

AddXmlSerializerFormatters(IMvcCoreBuilder, Action<MvcXmlOptions>)

MVC'ye XML Seri Hale Getirici biçimlendiricilerini ekler.

AddXmlSerializerFormatters(IMvcCoreBuilder)

Kaynak:
MvcXmlMvcCoreBuilderExtensions.cs
Kaynak:
MvcXmlMvcCoreBuilderExtensions.cs
Kaynak:
MvcXmlMvcCoreBuilderExtensions.cs

MVC'ye XML Seri Hale Getirici biçimlendiricilerini ekler.

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

Parametreler

Döndürülenler

IMvcCoreBuilder.

Şunlara uygulanır

AddXmlSerializerFormatters(IMvcCoreBuilder, Action<MvcXmlOptions>)

Kaynak:
MvcXmlMvcCoreBuilderExtensions.cs
Kaynak:
MvcXmlMvcCoreBuilderExtensions.cs

MVC'ye XML Seri Hale Getirici biçimlendiricilerini ekler.

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

Parametreler

setupAction
Action<MvcXmlOptions>

Yapılandırılması MvcXmlOptions gereken.

Döndürülenler

IMvcCoreBuilder.

Şunlara uygulanır