NewtonsoftJsonMvcBuilderExtensions.AddNewtonsoftJson Methode

Definition

Überlädt

AddNewtonsoftJson(IMvcBuilder)

Konfiguriert Newtonsoft.Json-spezifische Features wie Eingabe- und Ausgabeformatierer.

AddNewtonsoftJson(IMvcBuilder, Action<MvcNewtonsoftJsonOptions>)

Konfiguriert Newtonsoft.Json-spezifische Features wie Eingabe- und Ausgabeformatierer.

AddNewtonsoftJson(IMvcBuilder)

Konfiguriert Newtonsoft.Json-spezifische Features wie Eingabe- und Ausgabeformatierer.

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

Parameter

builder
IMvcBuilder

Die IMvcBuilder.

Gibt zurück

Die IMvcBuilder.

Gilt für:

AddNewtonsoftJson(IMvcBuilder, Action<MvcNewtonsoftJsonOptions>)

Konfiguriert Newtonsoft.Json-spezifische Features wie Eingabe- und Ausgabeformatierer.

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

Parameter

builder
IMvcBuilder

Die IMvcBuilder.

setupAction
Action<MvcNewtonsoftJsonOptions>

Rückruf zum Konfigurieren MvcNewtonsoftJsonOptionsvon .

Gibt zurück

Die IMvcBuilder.

Gilt für: