次の方法で共有


MvcCoreMvcCoreBuilderExtensions.AddFormatterMappings メソッド

定義

オーバーロード

AddFormatterMappings(IMvcCoreBuilder)

をサポート FormatterMappingsするサービスを追加します。

AddFormatterMappings(IMvcCoreBuilder, Action<FormatterMappings>)

FormatterMappings指定した に対して を構成しますsetupAction

AddFormatterMappings(IMvcCoreBuilder)

ソース:
MvcCoreMvcCoreBuilderExtensions.cs
ソース:
MvcCoreMvcCoreBuilderExtensions.cs
ソース:
MvcCoreMvcCoreBuilderExtensions.cs

をサポート 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>)

ソース:
MvcCoreMvcCoreBuilderExtensions.cs
ソース:
MvcCoreMvcCoreBuilderExtensions.cs
ソース:
MvcCoreMvcCoreBuilderExtensions.cs

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

戻り値

IMvcBuilder

適用対象