Partilhar via


JsonOutputFormatter(JsonSerializerSettings, ArrayPool<Char>) Construtor

Definição

Inicializa uma nova instância JsonOutputFormatter.

public:
 JsonOutputFormatter(Newtonsoft::Json::JsonSerializerSettings ^ serializerSettings, System::Buffers::ArrayPool<char> ^ charPool);
public JsonOutputFormatter (Newtonsoft.Json.JsonSerializerSettings serializerSettings, System.Buffers.ArrayPool<char> charPool);
new Microsoft.AspNetCore.Mvc.Formatters.JsonOutputFormatter : Newtonsoft.Json.JsonSerializerSettings * System.Buffers.ArrayPool<char> -> Microsoft.AspNetCore.Mvc.Formatters.JsonOutputFormatter
Public Sub New (serializerSettings As JsonSerializerSettings, charPool As ArrayPool(Of Char))

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.

charPool
ArrayPool<Char>

O ArrayPool<T>.

Aplica-se a