MvcCoreMvcCoreBuilderExtensions.AddFormatterMappings 메서드

정의

오버로드

AddFormatterMappings(IMvcCoreBuilder)

지원할 서비스를 추가 FormatterMappings 합니다.

AddFormatterMappings(IMvcCoreBuilder, Action<FormatterMappings>)

FormatterMappings지정 된에 대 한를 구성 setupAction 합니다.

AddFormatterMappings(IMvcCoreBuilder)

지원할 서비스를 추가 FormatterMappings 합니다.

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

매개 변수

반환

IMvcCoreBuilder

IMvcBuilder

적용 대상

AddFormatterMappings(IMvcCoreBuilder, Action<FormatterMappings>)

FormatterMappings지정 된에 대 한를 구성 setupAction 합니다.

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

매개 변수

setupAction
Action<FormatterMappings>

FormatterMappings를 구성하기 위한 Action입니다.

반환

IMvcCoreBuilder

IMvcBuilder

적용 대상