Freigeben über


NewtonsoftJsonInputFormatter Konstruktor

Definition

Initialisiert eine neue Instanz von 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)

Parameter

logger
ILogger

Die ILogger.

serializerSettings
Newtonsoft.Json.JsonSerializerSettings

Die Newtonsoft.Json.JsonSerializerSettings. Sollte entweder die anwendungsweiten Einstellungen (SerializerSettings) oder ein instance CreateSerializerSettings() ursprünglich zurückgegeben werden.

charPool
ArrayPool<Char>

Die ArrayPool<T>.

objectPoolProvider
ObjectPoolProvider

Die ObjectPoolProvider.

options
MvcOptions

Die MvcOptions.

Gilt für: