Udostępnij za pośrednictwem


NewtonsoftJsonOutputFormatter Konstruktory

Definicja

Przeciążenia

NewtonsoftJsonOutputFormatter(JsonSerializerSettings, ArrayPool<Char>, MvcOptions)
Przestarzałe.

Inicjuje nowe NewtonsoftJsonOutputFormatter wystąpienie.

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

Inicjuje nowe NewtonsoftJsonOutputFormatter wystąpienie.

NewtonsoftJsonOutputFormatter(JsonSerializerSettings, ArrayPool<Char>, MvcOptions)

Źródło:
NewtonsoftJsonOutputFormatter.cs
Źródło:
NewtonsoftJsonOutputFormatter.cs
Źródło:
NewtonsoftJsonOutputFormatter.cs
Źródło:
NewtonsoftJsonOutputFormatter.cs
Źródło:
NewtonsoftJsonOutputFormatter.cs
Źródło:
NewtonsoftJsonOutputFormatter.cs
Źródło:
NewtonsoftJsonOutputFormatter.cs

Przestroga

This constructor is obsolete and will be removed in a future version.

Inicjuje nowe NewtonsoftJsonOutputFormatter wystąpienie.

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)

Parametry

serializerSettings
Newtonsoft.Json.JsonSerializerSettings

Element Newtonsoft.Json.JsonSerializerSettings. Powinny być ustawieniami obejmującymi całą aplikację (SerializerSettings) lub początkowo zwracanym wystąpieniem CreateSerializerSettings() .

charPool
ArrayPool<Char>

Element ArrayPool<T>.

mvcOptions
MvcOptions

Element MvcOptions.

Atrybuty

Dotyczy

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

Źródło:
NewtonsoftJsonOutputFormatter.cs
Źródło:
NewtonsoftJsonOutputFormatter.cs
Źródło:
NewtonsoftJsonOutputFormatter.cs
Źródło:
NewtonsoftJsonOutputFormatter.cs

Inicjuje nowe NewtonsoftJsonOutputFormatter wystąpienie.

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)

Parametry

serializerSettings
Newtonsoft.Json.JsonSerializerSettings

Element Newtonsoft.Json.JsonSerializerSettings. Powinny być ustawieniami obejmującymi całą aplikację (SerializerSettings) lub początkowo zwracanym wystąpieniem CreateSerializerSettings() .

charPool
ArrayPool<Char>

Element ArrayPool<T>.

mvcOptions
MvcOptions

Element MvcOptions.

Dotyczy