NewtonsoftJsonOutputFormatter Constructores
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
| NewtonsoftJsonOutputFormatter(JsonSerializerSettings, ArrayPool<Char>, MvcOptions) |
Obsoletos.
Inicializa una nueva instancia de NewtonsoftJsonOutputFormatter. |
| NewtonsoftJsonOutputFormatter(JsonSerializerSettings, ArrayPool<Char>, MvcOptions, MvcNewtonsoftJsonOptions) |
Inicializa una nueva instancia de NewtonsoftJsonOutputFormatter. |
NewtonsoftJsonOutputFormatter(JsonSerializerSettings, ArrayPool<Char>, MvcOptions)
Precaución
This constructor is obsolete and will be removed in a future version.
Inicializa una nueva instancia de NewtonsoftJsonOutputFormatter.
public:
NewtonsoftJsonOutputFormatter(Newtonsoft::Json::JsonSerializerSettings ^ serializerSettings, System::Buffers::ArrayPool<char> ^ charPool, Microsoft::AspNetCore::Mvc::MvcOptions ^ mvcOptions);
public NewtonsoftJsonOutputFormatter (Newtonsoft.Json.JsonSerializerSettings serializerSettings, System.Buffers.ArrayPool<char> charPool, Microsoft.AspNetCore.Mvc.MvcOptions mvcOptions);
[System.Obsolete("This constructor is obsolete and will be removed in a future version.")]
public NewtonsoftJsonOutputFormatter (Newtonsoft.Json.JsonSerializerSettings serializerSettings, System.Buffers.ArrayPool<char> charPool, Microsoft.AspNetCore.Mvc.MvcOptions mvcOptions);
new Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonOutputFormatter : Newtonsoft.Json.JsonSerializerSettings * System.Buffers.ArrayPool<char> * Microsoft.AspNetCore.Mvc.MvcOptions -> Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonOutputFormatter
[<System.Obsolete("This constructor is obsolete and will be removed in a future version.")>]
new Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonOutputFormatter : Newtonsoft.Json.JsonSerializerSettings * System.Buffers.ArrayPool<char> * Microsoft.AspNetCore.Mvc.MvcOptions -> Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonOutputFormatter
Public Sub New (serializerSettings As JsonSerializerSettings, charPool As ArrayPool(Of Char), mvcOptions As MvcOptions)
Parámetros
- serializerSettings
- Newtonsoft.Json.JsonSerializerSettings
Newtonsoft.Json.JsonSerializerSettings. Debe ser la configuración de toda la aplicación (SerializerSettings) o una instancia CreateSerializerSettings() devuelta inicialmente.
- mvcOptions
- MvcOptions
- Atributos
Se aplica a
NewtonsoftJsonOutputFormatter(JsonSerializerSettings, ArrayPool<Char>, MvcOptions, MvcNewtonsoftJsonOptions)
Inicializa una nueva instancia de NewtonsoftJsonOutputFormatter.
public NewtonsoftJsonOutputFormatter (Newtonsoft.Json.JsonSerializerSettings serializerSettings, System.Buffers.ArrayPool<char> charPool, Microsoft.AspNetCore.Mvc.MvcOptions mvcOptions, Microsoft.AspNetCore.Mvc.MvcNewtonsoftJsonOptions? jsonOptions);
new Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonOutputFormatter : Newtonsoft.Json.JsonSerializerSettings * System.Buffers.ArrayPool<char> * Microsoft.AspNetCore.Mvc.MvcOptions * Microsoft.AspNetCore.Mvc.MvcNewtonsoftJsonOptions -> Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonOutputFormatter
Public Sub New (serializerSettings As JsonSerializerSettings, charPool As ArrayPool(Of Char), mvcOptions As MvcOptions, jsonOptions As MvcNewtonsoftJsonOptions)
Parámetros
- serializerSettings
- Newtonsoft.Json.JsonSerializerSettings
Newtonsoft.Json.JsonSerializerSettings. Debe ser la configuración de toda la aplicación (SerializerSettings) o una instancia CreateSerializerSettings() devuelta inicialmente.
- mvcOptions
- MvcOptions
- jsonOptions
- MvcNewtonsoftJsonOptions