다음을 통해 공유


MvcJsonMvcCoreBuilderExtensions.AddJsonFormatters 메서드

정의

오버로드

AddJsonFormatters(IMvcCoreBuilder)
AddJsonFormatters(IMvcCoreBuilder, Action<JsonSerializerSettings>)

AddJsonFormatters(IMvcCoreBuilder)

Source:
MvcJsonMvcCoreBuilderExtensions.cs
Source:
MvcJsonMvcCoreBuilderExtensions.cs
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>)

Source:
MvcJsonMvcCoreBuilderExtensions.cs
Source:
MvcJsonMvcCoreBuilderExtensions.cs
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>

반환

적용 대상