Partager via


NewtonsoftJsonOutputFormatter Constructeurs

Définition

Surcharges

NewtonsoftJsonOutputFormatter(JsonSerializerSettings, ArrayPool<Char>, MvcOptions)
Obsolète.

Initialise une nouvelle instance de NewtonsoftJsonOutputFormatter.

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

Initialise une nouvelle instance de NewtonsoftJsonOutputFormatter.

NewtonsoftJsonOutputFormatter(JsonSerializerSettings, ArrayPool<Char>, MvcOptions)

Source:
NewtonsoftJsonOutputFormatter.cs
Source:
NewtonsoftJsonOutputFormatter.cs
Source:
NewtonsoftJsonOutputFormatter.cs
Source:
NewtonsoftJsonOutputFormatter.cs
Source:
NewtonsoftJsonOutputFormatter.cs
Source:
NewtonsoftJsonOutputFormatter.cs
Source:
NewtonsoftJsonOutputFormatter.cs

Attention

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

Initialise une nouvelle instance de 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)

Paramètres

serializerSettings
Newtonsoft.Json.JsonSerializerSettings

L’Newtonsoft.Json.JsonSerializerSettingsopérateur Doit être les paramètres à l’échelle de l’application (SerializerSettings) ou un instance CreateSerializerSettings() initialement retourné.

charPool
ArrayPool<Char>

L’ArrayPool<T>opérateur

mvcOptions
MvcOptions

L’MvcOptionsopérateur

Attributs

S’applique à

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

Source:
NewtonsoftJsonOutputFormatter.cs
Source:
NewtonsoftJsonOutputFormatter.cs
Source:
NewtonsoftJsonOutputFormatter.cs
Source:
NewtonsoftJsonOutputFormatter.cs

Initialise une nouvelle instance de 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)

Paramètres

serializerSettings
Newtonsoft.Json.JsonSerializerSettings

L’Newtonsoft.Json.JsonSerializerSettingsopérateur Doit être les paramètres à l’échelle de l’application (SerializerSettings) ou un instance CreateSerializerSettings() initialement retourné.

charPool
ArrayPool<Char>

L’ArrayPool<T>opérateur

mvcOptions
MvcOptions

L’MvcOptionsopérateur

S’applique à