MvcJsonMvcCoreBuilderExtensions.AddJsonFormatters メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
AddJsonFormatters(IMvcCoreBuilder) | |
AddJsonFormatters(IMvcCoreBuilder, Action<JsonSerializerSettings>) |
AddJsonFormatters(IMvcCoreBuilder)
public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder AddJsonFormatters (this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder);
static member AddJsonFormatters : Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder -> Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder
<Extension()>
Public Function AddJsonFormatters (builder As IMvcCoreBuilder) As IMvcCoreBuilder
パラメーター
- builder
- IMvcCoreBuilder
戻り値
適用対象
AddJsonFormatters(IMvcCoreBuilder, Action<JsonSerializerSettings>)
public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder AddJsonFormatters (this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder, Action<Newtonsoft.Json.JsonSerializerSettings> setupAction);
static member AddJsonFormatters : Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder * Action<Newtonsoft.Json.JsonSerializerSettings> -> Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder
<Extension()>
Public Function AddJsonFormatters (builder As IMvcCoreBuilder, setupAction As Action(Of JsonSerializerSettings)) As IMvcCoreBuilder
パラメーター
- builder
- IMvcCoreBuilder
- setupAction
- Action<Newtonsoft.Json.JsonSerializerSettings>