다음을 통해 공유


MvcXmlMvcBuilderExtensions.AddXmlDataContractSerializerFormatters 메서드

정의

오버로드

AddXmlDataContractSerializerFormatters(IMvcBuilder)

XML DataContractSerializer 포맷터를 MVC에 추가합니다.

AddXmlDataContractSerializerFormatters(IMvcBuilder, Action<MvcXmlOptions>)

XML DataContractSerializer 포맷터를 MVC에 추가합니다.

AddXmlDataContractSerializerFormatters(IMvcBuilder)

Source:
MvcXmlMvcBuilderExtensions.cs
Source:
MvcXmlMvcBuilderExtensions.cs
Source:
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>)

Source:
MvcXmlMvcBuilderExtensions.cs
Source:
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

적용 대상