JsonPatchInputFormatter Constructeurs
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
JsonPatchInputFormatter(ILogger, JsonSerializerSettings, ArrayPool<Char>, ObjectPoolProvider) |
Obsolète.
Initialise une nouvelle instance de JsonPatchInputFormatter. |
JsonPatchInputFormatter(ILogger, JsonSerializerSettings, ArrayPool<Char>, ObjectPoolProvider, Boolean) |
Obsolète.
Initialise une nouvelle instance de JsonPatchInputFormatter. |
JsonPatchInputFormatter(ILogger, JsonSerializerSettings, ArrayPool<Char>, ObjectPoolProvider, MvcOptions, MvcJsonOptions) |
Initialise une nouvelle instance de JsonPatchInputFormatter. |
JsonPatchInputFormatter(ILogger, JsonSerializerSettings, ArrayPool<Char>, ObjectPoolProvider, Boolean, Boolean) |
Obsolète.
Initialise une nouvelle instance de JsonPatchInputFormatter. |
JsonPatchInputFormatter(ILogger, JsonSerializerSettings, ArrayPool<Char>, ObjectPoolProvider)
- Source:
- JsonPatchInputFormatter.cs
- Source:
- JsonPatchInputFormatter.cs
Attention
This constructor is obsolete and will be removed in a future version.
Initialise une nouvelle instance de 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)
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é.
L’ArrayPool<T>opérateur
- objectPoolProvider
- ObjectPoolProvider
L’ObjectPoolProvideropérateur
- Attributs
S’applique à
JsonPatchInputFormatter(ILogger, JsonSerializerSettings, ArrayPool<Char>, ObjectPoolProvider, Boolean)
- Source:
- JsonPatchInputFormatter.cs
- Source:
- JsonPatchInputFormatter.cs
Attention
This constructor is obsolete and will be removed in a future version.
Initialise une nouvelle instance de 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)
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é.
L’ArrayPool<T>opérateur
- objectPoolProvider
- ObjectPoolProvider
L’ObjectPoolProvideropérateur
- suppressInputFormatterBuffering
- Boolean
Indicateur pour mettre en mémoire tampon tout le corps de la requête avant de le désérialiser.
- Attributs
S’applique à
JsonPatchInputFormatter(ILogger, JsonSerializerSettings, ArrayPool<Char>, ObjectPoolProvider, MvcOptions, MvcJsonOptions)
- Source:
- JsonPatchInputFormatter.cs
- Source:
- JsonPatchInputFormatter.cs
Initialise une nouvelle instance de 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)
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é.
L’ArrayPool<T>opérateur
- objectPoolProvider
- ObjectPoolProvider
L’ObjectPoolProvideropérateur
- options
- MvcOptions
L’MvcOptionsopérateur
- jsonOptions
- MvcJsonOptions
L’MvcJsonOptionsopérateur
S’applique à
JsonPatchInputFormatter(ILogger, JsonSerializerSettings, ArrayPool<Char>, ObjectPoolProvider, Boolean, Boolean)
- Source:
- JsonPatchInputFormatter.cs
- Source:
- JsonPatchInputFormatter.cs
Attention
This constructor is obsolete and will be removed in a future version.
Initialise une nouvelle instance de 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)
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é.
L’ArrayPool<T>opérateur
- objectPoolProvider
- ObjectPoolProvider
L’ObjectPoolProvideropérateur
- suppressInputFormatterBuffering
- Boolean
Indicateur pour mettre en mémoire tampon tout le corps de la requête avant de le désérialiser.
- allowInputFormatterExceptionMessages
- Boolean
Si false
, les messages d’exception de désérialisation JSON seront remplacés par un message générique à l’état de modèle.
- Attributs