次の方法で共有


MvcXmlMvcCoreBuilderExtensions.AddXmlDataContractSerializerFormatters メソッド

定義

オーバーロード

AddXmlDataContractSerializerFormatters(IMvcCoreBuilder)

XML DataContractSerializer フォーマッタを MVC に追加します。

AddXmlDataContractSerializerFormatters(IMvcCoreBuilder, Action<MvcXmlOptions>)

XML DataContractSerializer フォーマッタを MVC に追加します。

AddXmlDataContractSerializerFormatters(IMvcCoreBuilder)

ソース:
MvcXmlMvcCoreBuilderExtensions.cs
ソース:
MvcXmlMvcCoreBuilderExtensions.cs
ソース:
MvcXmlMvcCoreBuilderExtensions.cs

XML DataContractSerializer フォーマッタを MVC に追加します。

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

パラメーター

戻り値

IMvcCoreBuilder

適用対象

AddXmlDataContractSerializerFormatters(IMvcCoreBuilder, Action<MvcXmlOptions>)

ソース:
MvcXmlMvcCoreBuilderExtensions.cs
ソース:
MvcXmlMvcCoreBuilderExtensions.cs

XML DataContractSerializer フォーマッタを MVC に追加します。

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

パラメーター

setupAction
Action<MvcXmlOptions>

MvcXmlOptions構成する必要がある 。

戻り値

IMvcCoreBuilder

適用対象