Udostępnij przez


NewtonsoftJsonMvcBuilderExtensions.AddNewtonsoftJson Metoda

Definicja

Przeciążenia

AddNewtonsoftJson(IMvcBuilder)

Konfiguruje funkcje specyficzne dla pliku Newtonsoft.Json, takie jak formatery danych wejściowych i wyjściowych.

AddNewtonsoftJson(IMvcBuilder, Action<MvcNewtonsoftJsonOptions>)

Konfiguruje funkcje specyficzne dla pliku Newtonsoft.Json, takie jak formatery danych wejściowych i wyjściowych.

AddNewtonsoftJson(IMvcBuilder)

Źródło:
NewtonsoftJsonMvcBuilderExtensions.cs
Źródło:
NewtonsoftJsonMvcBuilderExtensions.cs
Źródło:
NewtonsoftJsonMvcBuilderExtensions.cs
Źródło:
NewtonsoftJsonMvcBuilderExtensions.cs
Źródło:
NewtonsoftJsonMvcBuilderExtensions.cs
Źródło:
NewtonsoftJsonMvcBuilderExtensions.cs

Konfiguruje funkcje specyficzne dla pliku Newtonsoft.Json, takie jak formatery danych wejściowych i wyjściowych.

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

Element IMvcBuilder.

Zwraca

Element IMvcBuilder.

Dotyczy

AddNewtonsoftJson(IMvcBuilder, Action<MvcNewtonsoftJsonOptions>)

Źródło:
NewtonsoftJsonMvcBuilderExtensions.cs
Źródło:
NewtonsoftJsonMvcBuilderExtensions.cs
Źródło:
NewtonsoftJsonMvcBuilderExtensions.cs
Źródło:
NewtonsoftJsonMvcBuilderExtensions.cs
Źródło:
NewtonsoftJsonMvcBuilderExtensions.cs
Źródło:
NewtonsoftJsonMvcBuilderExtensions.cs

Konfiguruje funkcje specyficzne dla pliku Newtonsoft.Json, takie jak formatery danych wejściowych i wyjściowych.

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

Element IMvcBuilder.

setupAction
Action<MvcNewtonsoftJsonOptions>

Wywołanie zwrotne w celu skonfigurowania elementu MvcNewtonsoftJsonOptions.

Zwraca

Element IMvcBuilder.

Dotyczy