MvcCoreMvcBuilderExtensions.AddJsonOptions メソッド

定義

JsonOptions指定した に対して を構成しますbuilder。 の JsonSerializerDefaults.Web既定値を使用します。

public static Microsoft.Extensions.DependencyInjection.IMvcBuilder AddJsonOptions (this Microsoft.Extensions.DependencyInjection.IMvcBuilder builder, Action<Microsoft.AspNetCore.Mvc.JsonOptions> configure);
static member AddJsonOptions : Microsoft.Extensions.DependencyInjection.IMvcBuilder * Action<Microsoft.AspNetCore.Mvc.JsonOptions> -> Microsoft.Extensions.DependencyInjection.IMvcBuilder
<Extension()>
Public Function AddJsonOptions (builder As IMvcBuilder, configure As Action(Of JsonOptions)) As IMvcBuilder

パラメーター

configure
Action<JsonOptions>

JsonOptions を構成するための Action

戻り値

IMvcBuilder

適用対象