MvcCoreMvcCoreBuilderExtensions.AddFormatterMappings Yöntem

Tanım

Aşırı Yüklemeler

AddFormatterMappings(IMvcCoreBuilder)

Desteğe hizmet ekler FormatterMappings .

AddFormatterMappings(IMvcCoreBuilder, Action<FormatterMappings>)

FormatterMappingsBelirtilen için yapılandırır setupAction .

AddFormatterMappings(IMvcCoreBuilder)

Desteğe hizmet ekler 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

Parametreler

Döndürülenler

IMvcCoreBuilder

IMvcBuilder.

Şunlara uygulanır

AddFormatterMappings(IMvcCoreBuilder, Action<FormatterMappings>)

FormatterMappingsBelirtilen için yapılandırır 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

Parametreler

setupAction
Action<FormatterMappings>

Öğesini Action yapılandırmak için bir FormatterMappings .

Döndürülenler

IMvcCoreBuilder

IMvcBuilder.

Şunlara uygulanır