MvcCoreMvcCoreBuilderExtensions.AddFormatterMappings 메서드

정의

오버로드

AddFormatterMappings(IMvcCoreBuilder)

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

AddFormatterMappings(IMvcCoreBuilder, Action<FormatterMappings>)

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

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

매개 변수

반환

IMvcBuilder

적용 대상

AddFormatterMappings(IMvcCoreBuilder, Action<FormatterMappings>)

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

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입니다.

반환

IMvcBuilder

적용 대상