MvcJsonMvcBuilderExtensions.AddJsonOptions 方法

定义

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

参数

builder
IMvcBuilder
setupAction
Action<MvcJsonOptions>

返回

适用于