NewtonsoftJsonOutputFormatter Construtores
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
NewtonsoftJsonOutputFormatter(JsonSerializerSettings, ArrayPool<Char>, MvcOptions) |
Obsoleto.
Inicializa uma nova instância NewtonsoftJsonOutputFormatter. |
NewtonsoftJsonOutputFormatter(JsonSerializerSettings, ArrayPool<Char>, MvcOptions, MvcNewtonsoftJsonOptions) |
Inicializa uma nova instância NewtonsoftJsonOutputFormatter. |
NewtonsoftJsonOutputFormatter(JsonSerializerSettings, ArrayPool<Char>, MvcOptions)
Cuidado
This constructor is obsolete and will be removed in a future version.
Inicializa uma nova instância 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
O Newtonsoft.Json.JsonSerializerSettings. Deve ser as configurações de todo o aplicativo (SerializerSettings) ou uma instância CreateSerializerSettings() retornada inicialmente.
O ArrayPool<T>.
- mvcOptions
- MvcOptions
O MvcOptions.
- Atributos
Aplica-se a
NewtonsoftJsonOutputFormatter(JsonSerializerSettings, ArrayPool<Char>, MvcOptions, MvcNewtonsoftJsonOptions)
Inicializa uma nova instância 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
O Newtonsoft.Json.JsonSerializerSettings. Deve ser as configurações de todo o aplicativo (SerializerSettings) ou uma instância CreateSerializerSettings() retornada inicialmente.
O ArrayPool<T>.
- mvcOptions
- MvcOptions
O MvcOptions.
- jsonOptions
- MvcNewtonsoftJsonOptions