Bagikan melalui


NewtonsoftJsonOutputFormatter Konstruktor

Definisi

Overload

NewtonsoftJsonOutputFormatter(JsonSerializerSettings, ArrayPool<Char>, MvcOptions)
Kedaluwarsa.

Menginisialisasi instans baru NewtonsoftJsonOutputFormatter .

NewtonsoftJsonOutputFormatter(JsonSerializerSettings, ArrayPool<Char>, MvcOptions, MvcNewtonsoftJsonOptions)

Menginisialisasi instans baru NewtonsoftJsonOutputFormatter .

NewtonsoftJsonOutputFormatter(JsonSerializerSettings, ArrayPool<Char>, MvcOptions)

Sumber:
NewtonsoftJsonOutputFormatter.cs
Sumber:
NewtonsoftJsonOutputFormatter.cs
Sumber:
NewtonsoftJsonOutputFormatter.cs
Sumber:
NewtonsoftJsonOutputFormatter.cs
Sumber:
NewtonsoftJsonOutputFormatter.cs
Sumber:
NewtonsoftJsonOutputFormatter.cs
Sumber:
NewtonsoftJsonOutputFormatter.cs

Perhatian

This constructor is obsolete and will be removed in a future version.

Menginisialisasi instans baru NewtonsoftJsonOutputFormatter .

public:
 NewtonsoftJsonOutputFormatter(Newtonsoft::Json::JsonSerializerSettings ^ serializerSettings, System::Buffers::ArrayPool<char> ^ charPool, Microsoft::AspNetCore::Mvc::MvcOptions ^ mvcOptions);
public NewtonsoftJsonOutputFormatter (Newtonsoft.Json.JsonSerializerSettings serializerSettings, System.Buffers.ArrayPool<char> charPool, Microsoft.AspNetCore.Mvc.MvcOptions mvcOptions);
[System.Obsolete("This constructor is obsolete and will be removed in a future version.")]
public NewtonsoftJsonOutputFormatter (Newtonsoft.Json.JsonSerializerSettings serializerSettings, System.Buffers.ArrayPool<char> charPool, Microsoft.AspNetCore.Mvc.MvcOptions mvcOptions);
new Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonOutputFormatter : Newtonsoft.Json.JsonSerializerSettings * System.Buffers.ArrayPool<char> * Microsoft.AspNetCore.Mvc.MvcOptions -> Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonOutputFormatter
[<System.Obsolete("This constructor is obsolete and will be removed in a future version.")>]
new Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonOutputFormatter : Newtonsoft.Json.JsonSerializerSettings * System.Buffers.ArrayPool<char> * Microsoft.AspNetCore.Mvc.MvcOptions -> Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonOutputFormatter
Public Sub New (serializerSettings As JsonSerializerSettings, charPool As ArrayPool(Of Char), mvcOptions As MvcOptions)

Parameter

serializerSettings
Newtonsoft.Json.JsonSerializerSettings

Newtonsoft.Json.JsonSerializerSettings. Harus berupa pengaturan di seluruh aplikasi (SerializerSettings) atau instans CreateSerializerSettings() yang awalnya dikembalikan.

mvcOptions
MvcOptions

MvcOptions.

Atribut

Berlaku untuk

NewtonsoftJsonOutputFormatter(JsonSerializerSettings, ArrayPool<Char>, MvcOptions, MvcNewtonsoftJsonOptions)

Sumber:
NewtonsoftJsonOutputFormatter.cs
Sumber:
NewtonsoftJsonOutputFormatter.cs
Sumber:
NewtonsoftJsonOutputFormatter.cs
Sumber:
NewtonsoftJsonOutputFormatter.cs

Menginisialisasi instans baru NewtonsoftJsonOutputFormatter .

public NewtonsoftJsonOutputFormatter (Newtonsoft.Json.JsonSerializerSettings serializerSettings, System.Buffers.ArrayPool<char> charPool, Microsoft.AspNetCore.Mvc.MvcOptions mvcOptions, Microsoft.AspNetCore.Mvc.MvcNewtonsoftJsonOptions? jsonOptions);
new Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonOutputFormatter : Newtonsoft.Json.JsonSerializerSettings * System.Buffers.ArrayPool<char> * Microsoft.AspNetCore.Mvc.MvcOptions * Microsoft.AspNetCore.Mvc.MvcNewtonsoftJsonOptions -> Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonOutputFormatter
Public Sub New (serializerSettings As JsonSerializerSettings, charPool As ArrayPool(Of Char), mvcOptions As MvcOptions, jsonOptions As MvcNewtonsoftJsonOptions)

Parameter

serializerSettings
Newtonsoft.Json.JsonSerializerSettings

Newtonsoft.Json.JsonSerializerSettings. Harus berupa pengaturan di seluruh aplikasi (SerializerSettings) atau instans CreateSerializerSettings() yang awalnya dikembalikan.

mvcOptions
MvcOptions

MvcOptions.

Berlaku untuk