JsonPatchInputFormatter Konstruktoren

Definition

Überlädt

JsonPatchInputFormatter(ILogger, JsonSerializerSettings, ArrayPool<Char>, ObjectPoolProvider)
Veraltet.

Initialisiert eine neue Instanz von JsonPatchInputFormatter.

JsonPatchInputFormatter(ILogger, JsonSerializerSettings, ArrayPool<Char>, ObjectPoolProvider, Boolean)
Veraltet.

Initialisiert eine neue Instanz von JsonPatchInputFormatter.

JsonPatchInputFormatter(ILogger, JsonSerializerSettings, ArrayPool<Char>, ObjectPoolProvider, MvcOptions, MvcJsonOptions)

Initialisiert eine neue Instanz von JsonPatchInputFormatter.

JsonPatchInputFormatter(ILogger, JsonSerializerSettings, ArrayPool<Char>, ObjectPoolProvider, Boolean, Boolean)
Veraltet.

Initialisiert eine neue Instanz von JsonPatchInputFormatter.

JsonPatchInputFormatter(ILogger, JsonSerializerSettings, ArrayPool<Char>, ObjectPoolProvider)

Quelle:
JsonPatchInputFormatter.cs
Quelle:
JsonPatchInputFormatter.cs

Achtung

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

Initialisiert eine neue Instanz von JsonPatchInputFormatter.

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

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.

Attribute

Gilt für:

JsonPatchInputFormatter(ILogger, JsonSerializerSettings, ArrayPool<Char>, ObjectPoolProvider, Boolean)

Quelle:
JsonPatchInputFormatter.cs
Quelle:
JsonPatchInputFormatter.cs

Achtung

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

Initialisiert eine neue Instanz von JsonPatchInputFormatter.

public:
 JsonPatchInputFormatter(Microsoft::Extensions::Logging::ILogger ^ logger, Newtonsoft::Json::JsonSerializerSettings ^ serializerSettings, System::Buffers::ArrayPool<char> ^ charPool, Microsoft::Extensions::ObjectPool::ObjectPoolProvider ^ objectPoolProvider, bool suppressInputFormatterBuffering);
public JsonPatchInputFormatter (Microsoft.Extensions.Logging.ILogger logger, Newtonsoft.Json.JsonSerializerSettings serializerSettings, System.Buffers.ArrayPool<char> charPool, Microsoft.Extensions.ObjectPool.ObjectPoolProvider objectPoolProvider, bool suppressInputFormatterBuffering);
[System.Obsolete("This constructor is obsolete and will be removed in a future version.")]
public JsonPatchInputFormatter (Microsoft.Extensions.Logging.ILogger logger, Newtonsoft.Json.JsonSerializerSettings serializerSettings, System.Buffers.ArrayPool<char> charPool, Microsoft.Extensions.ObjectPool.ObjectPoolProvider objectPoolProvider, bool suppressInputFormatterBuffering);
new Microsoft.AspNetCore.Mvc.Formatters.JsonPatchInputFormatter : Microsoft.Extensions.Logging.ILogger * Newtonsoft.Json.JsonSerializerSettings * System.Buffers.ArrayPool<char> * Microsoft.Extensions.ObjectPool.ObjectPoolProvider * bool -> Microsoft.AspNetCore.Mvc.Formatters.JsonPatchInputFormatter
[<System.Obsolete("This constructor is obsolete and will be removed in a future version.")>]
new Microsoft.AspNetCore.Mvc.Formatters.JsonPatchInputFormatter : Microsoft.Extensions.Logging.ILogger * Newtonsoft.Json.JsonSerializerSettings * System.Buffers.ArrayPool<char> * Microsoft.Extensions.ObjectPool.ObjectPoolProvider * bool -> Microsoft.AspNetCore.Mvc.Formatters.JsonPatchInputFormatter
Public Sub New (logger As ILogger, serializerSettings As JsonSerializerSettings, charPool As ArrayPool(Of Char), objectPoolProvider As ObjectPoolProvider, suppressInputFormatterBuffering As Boolean)

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.

suppressInputFormatterBuffering
Boolean

Kennzeichnen, um den gesamten Anforderungstext vor dem Deserialisieren zu puffern.

Attribute

Gilt für:

JsonPatchInputFormatter(ILogger, JsonSerializerSettings, ArrayPool<Char>, ObjectPoolProvider, MvcOptions, MvcJsonOptions)

Quelle:
JsonPatchInputFormatter.cs
Quelle:
JsonPatchInputFormatter.cs

Initialisiert eine neue Instanz von JsonPatchInputFormatter.

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

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.

jsonOptions
MvcJsonOptions

Die MvcJsonOptions.

Gilt für:

JsonPatchInputFormatter(ILogger, JsonSerializerSettings, ArrayPool<Char>, ObjectPoolProvider, Boolean, Boolean)

Quelle:
JsonPatchInputFormatter.cs
Quelle:
JsonPatchInputFormatter.cs

Achtung

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

Initialisiert eine neue Instanz von JsonPatchInputFormatter.

public:
 JsonPatchInputFormatter(Microsoft::Extensions::Logging::ILogger ^ logger, Newtonsoft::Json::JsonSerializerSettings ^ serializerSettings, System::Buffers::ArrayPool<char> ^ charPool, Microsoft::Extensions::ObjectPool::ObjectPoolProvider ^ objectPoolProvider, bool suppressInputFormatterBuffering, bool allowInputFormatterExceptionMessages);
[System.Obsolete("This constructor is obsolete and will be removed in a future version.")]
public JsonPatchInputFormatter (Microsoft.Extensions.Logging.ILogger logger, Newtonsoft.Json.JsonSerializerSettings serializerSettings, System.Buffers.ArrayPool<char> charPool, Microsoft.Extensions.ObjectPool.ObjectPoolProvider objectPoolProvider, bool suppressInputFormatterBuffering, bool allowInputFormatterExceptionMessages);
[<System.Obsolete("This constructor is obsolete and will be removed in a future version.")>]
new Microsoft.AspNetCore.Mvc.Formatters.JsonPatchInputFormatter : Microsoft.Extensions.Logging.ILogger * Newtonsoft.Json.JsonSerializerSettings * System.Buffers.ArrayPool<char> * Microsoft.Extensions.ObjectPool.ObjectPoolProvider * bool * bool -> Microsoft.AspNetCore.Mvc.Formatters.JsonPatchInputFormatter
Public Sub New (logger As ILogger, serializerSettings As JsonSerializerSettings, charPool As ArrayPool(Of Char), objectPoolProvider As ObjectPoolProvider, suppressInputFormatterBuffering As Boolean, allowInputFormatterExceptionMessages As Boolean)

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.

suppressInputFormatterBuffering
Boolean

Kennzeichnen, um den gesamten Anforderungstext vor dem Deserialisieren zu puffern.

allowInputFormatterExceptionMessages
Boolean

Wenn false, werden JSON-Deserialisierungs-Ausnahmemeldungen durch eine generische Nachricht im Modellzustand ersetzt.

Attribute

Gilt für: