Share via


NewtonsoftJsonMvcBuilderExtensions.AddNewtonsoftJson Metoda

Definice

Přetížení

AddNewtonsoftJson(IMvcBuilder)

Konfiguruje funkce specifické pro Newtonsoft.Json, jako jsou vstupní a výstupní formátovací moduly.

AddNewtonsoftJson(IMvcBuilder, Action<MvcNewtonsoftJsonOptions>)

Konfiguruje funkce specifické pro Newtonsoft.Json, jako jsou vstupní a výstupní formátovací moduly.

AddNewtonsoftJson(IMvcBuilder)

Zdroj:
NewtonsoftJsonMvcBuilderExtensions.cs
Zdroj:
NewtonsoftJsonMvcBuilderExtensions.cs
Zdroj:
NewtonsoftJsonMvcBuilderExtensions.cs
Zdroj:
NewtonsoftJsonMvcBuilderExtensions.cs
Zdroj:
NewtonsoftJsonMvcBuilderExtensions.cs
Zdroj:
NewtonsoftJsonMvcBuilderExtensions.cs

Konfiguruje funkce specifické pro Newtonsoft.Json, jako jsou vstupní a výstupní formátovací moduly.

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

Parametry

builder
IMvcBuilder

Hodnota IMvcBuilder

Návraty

Hodnota IMvcBuilder

Platí pro

AddNewtonsoftJson(IMvcBuilder, Action<MvcNewtonsoftJsonOptions>)

Zdroj:
NewtonsoftJsonMvcBuilderExtensions.cs
Zdroj:
NewtonsoftJsonMvcBuilderExtensions.cs
Zdroj:
NewtonsoftJsonMvcBuilderExtensions.cs
Zdroj:
NewtonsoftJsonMvcBuilderExtensions.cs
Zdroj:
NewtonsoftJsonMvcBuilderExtensions.cs
Zdroj:
NewtonsoftJsonMvcBuilderExtensions.cs

Konfiguruje funkce specifické pro Newtonsoft.Json, jako jsou vstupní a výstupní formátovací moduly.

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

Parametry

builder
IMvcBuilder

Hodnota IMvcBuilder

setupAction
Action<MvcNewtonsoftJsonOptions>

Zpětné volání pro konfiguraci MvcNewtonsoftJsonOptions.

Návraty

Hodnota IMvcBuilder

Platí pro