NewtonsoftJsonMvcCoreBuilderExtensions.AddNewtonsoftJson 方法

定义

重载

AddNewtonsoftJson(IMvcCoreBuilder)

配置 Newtonsoft.Json 特定功能,例如输入和输出格式化程序。

AddNewtonsoftJson(IMvcCoreBuilder, Action<MvcNewtonsoftJsonOptions>)

配置 Newtonsoft.Json 特定功能,例如输入和输出格式化程序。

AddNewtonsoftJson(IMvcCoreBuilder)

Source:
NewtonsoftJsonMvcCoreBuilderExtensions.cs
Source:
NewtonsoftJsonMvcCoreBuilderExtensions.cs
Source:
NewtonsoftJsonMvcCoreBuilderExtensions.cs
Source:
NewtonsoftJsonMvcCoreBuilderExtensions.cs
Source:
NewtonsoftJsonMvcCoreBuilderExtensions.cs
Source:
NewtonsoftJsonMvcCoreBuilderExtensions.cs
Source:
NewtonsoftJsonMvcCoreBuilderExtensions.cs

配置 Newtonsoft.Json 特定功能,例如输入和输出格式化程序。

public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder AddNewtonsoftJson (this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder);
static member AddNewtonsoftJson : Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder -> Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder
<Extension()>
Public Function AddNewtonsoftJson (builder As IMvcCoreBuilder) As IMvcCoreBuilder

参数

返回

IMvcCoreBuilder

适用于

AddNewtonsoftJson(IMvcCoreBuilder, Action<MvcNewtonsoftJsonOptions>)

Source:
NewtonsoftJsonMvcCoreBuilderExtensions.cs
Source:
NewtonsoftJsonMvcCoreBuilderExtensions.cs
Source:
NewtonsoftJsonMvcCoreBuilderExtensions.cs
Source:
NewtonsoftJsonMvcCoreBuilderExtensions.cs
Source:
NewtonsoftJsonMvcCoreBuilderExtensions.cs
Source:
NewtonsoftJsonMvcCoreBuilderExtensions.cs
Source:
NewtonsoftJsonMvcCoreBuilderExtensions.cs

配置 Newtonsoft.Json 特定功能,例如输入和输出格式化程序。

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

参数

setupAction
Action<MvcNewtonsoftJsonOptions>

用于配置 MvcNewtonsoftJsonOptions的回调。

返回

IMvcCoreBuilder

适用于