Compartilhar via


NewtonsoftJsonOutputFormatter Construtores

Definição

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)

Origem:
NewtonsoftJsonOutputFormatter.cs
Origem:
NewtonsoftJsonOutputFormatter.cs
Origem:
NewtonsoftJsonOutputFormatter.cs
Origem:
NewtonsoftJsonOutputFormatter.cs
Origem:
NewtonsoftJsonOutputFormatter.cs
Origem:
NewtonsoftJsonOutputFormatter.cs

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.

charPool
ArrayPool<Char>

O ArrayPool<T>.

mvcOptions
MvcOptions

O MvcOptions.

Atributos

Aplica-se a

NewtonsoftJsonOutputFormatter(JsonSerializerSettings, ArrayPool<Char>, MvcOptions, MvcNewtonsoftJsonOptions)

Origem:
NewtonsoftJsonOutputFormatter.cs
Origem:
NewtonsoftJsonOutputFormatter.cs
Origem:
NewtonsoftJsonOutputFormatter.cs

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.

charPool
ArrayPool<Char>

O ArrayPool<T>.

mvcOptions
MvcOptions

O MvcOptions.

Aplica-se a