Partager via


NewtonsoftJsonPatchInputFormatter Constructeur

Définition

Initialise une nouvelle instance de NewtonsoftJsonPatchInputFormatter.

public:
 NewtonsoftJsonPatchInputFormatter(Microsoft::Extensions::Logging::ILogger ^ logger, Newtonsoft::Json::JsonSerializerSettings ^ serializerSettings, System::Buffers::ArrayPool<char> ^ charPool, Microsoft::Extensions::ObjectPool::ObjectPoolProvider ^ objectPoolProvider, Microsoft::AspNetCore::Mvc::MvcOptions ^ options, Microsoft::AspNetCore::Mvc::MvcNewtonsoftJsonOptions ^ jsonOptions);
public NewtonsoftJsonPatchInputFormatter (Microsoft.Extensions.Logging.ILogger logger, Newtonsoft.Json.JsonSerializerSettings serializerSettings, System.Buffers.ArrayPool<char> charPool, Microsoft.Extensions.ObjectPool.ObjectPoolProvider objectPoolProvider, Microsoft.AspNetCore.Mvc.MvcOptions options, Microsoft.AspNetCore.Mvc.MvcNewtonsoftJsonOptions jsonOptions);
new Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonPatchInputFormatter : Microsoft.Extensions.Logging.ILogger * Newtonsoft.Json.JsonSerializerSettings * System.Buffers.ArrayPool<char> * Microsoft.Extensions.ObjectPool.ObjectPoolProvider * Microsoft.AspNetCore.Mvc.MvcOptions * Microsoft.AspNetCore.Mvc.MvcNewtonsoftJsonOptions -> Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonPatchInputFormatter
Public Sub New (logger As ILogger, serializerSettings As JsonSerializerSettings, charPool As ArrayPool(Of Char), objectPoolProvider As ObjectPoolProvider, options As MvcOptions, jsonOptions As MvcNewtonsoftJsonOptions)

Paramètres

logger
ILogger

L’ILoggeropérateur

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

objectPoolProvider
ObjectPoolProvider

L’ObjectPoolProvideropérateur

options
MvcOptions

L’MvcOptionsopérateur

S’applique à