Condividi tramite


NewtonsoftJsonInputFormatter Costruttore

Definizione

Inizializza una nuova istanza di NewtonsoftJsonInputFormatter.

public:
 NewtonsoftJsonInputFormatter(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 NewtonsoftJsonInputFormatter (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.NewtonsoftJsonInputFormatter : 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.NewtonsoftJsonInputFormatter
Public Sub New (logger As ILogger, serializerSettings As JsonSerializerSettings, charPool As ArrayPool(Of Char), objectPoolProvider As ObjectPoolProvider, options As MvcOptions, jsonOptions As MvcNewtonsoftJsonOptions)

Parametri

logger
ILogger

Oggetto ILogger.

serializerSettings
Newtonsoft.Json.JsonSerializerSettings

Oggetto Newtonsoft.Json.JsonSerializerSettings. Deve essere le impostazioni a livello di applicazione (SerializerSettings) o un'istanza CreateSerializerSettings() restituita inizialmente.

charPool
ArrayPool<Char>

Oggetto ArrayPool<T>.

objectPoolProvider
ObjectPoolProvider

Oggetto ObjectPoolProvider.

options
MvcOptions

Oggetto MvcOptions.

Si applica a