次の方法で共有


MvcXmlMvcBuilderExtensions.AddXmlDataContractSerializerFormatters メソッド

定義

オーバーロード

AddXmlDataContractSerializerFormatters(IMvcBuilder)

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

AddXmlDataContractSerializerFormatters(IMvcBuilder, Action<MvcXmlOptions>)

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

AddXmlDataContractSerializerFormatters(IMvcBuilder)

ソース:
MvcXmlMvcBuilderExtensions.cs
ソース:
MvcXmlMvcBuilderExtensions.cs
ソース:
MvcXmlMvcBuilderExtensions.cs

XML DataContractSerializer フォーマッタを 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

パラメーター

戻り値

IMvcBuilder

適用対象

AddXmlDataContractSerializerFormatters(IMvcBuilder, Action<MvcXmlOptions>)

ソース:
MvcXmlMvcBuilderExtensions.cs
ソース:
MvcXmlMvcBuilderExtensions.cs

XML DataContractSerializer フォーマッタを 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

パラメーター

setupAction
Action<MvcXmlOptions>

MvcXmlOptions構成する必要がある 。

戻り値

IMvcBuilder

適用対象