Freigeben über


NewtonsoftJsonOutputFormatter Konstruktoren

Definition

Überlädt

NewtonsoftJsonOutputFormatter(JsonSerializerSettings, ArrayPool<Char>, MvcOptions)
Veraltet.

Initialisiert eine neue Instanz von NewtonsoftJsonOutputFormatter.

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

Initialisiert eine neue Instanz von NewtonsoftJsonOutputFormatter.

NewtonsoftJsonOutputFormatter(JsonSerializerSettings, ArrayPool<Char>, MvcOptions)

Quelle:
NewtonsoftJsonOutputFormatter.cs
Quelle:
NewtonsoftJsonOutputFormatter.cs
Quelle:
NewtonsoftJsonOutputFormatter.cs
Quelle:
NewtonsoftJsonOutputFormatter.cs
Quelle:
NewtonsoftJsonOutputFormatter.cs
Quelle:
NewtonsoftJsonOutputFormatter.cs

Achtung

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

Initialisiert eine neue Instanz von 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)

Parameter

serializerSettings
Newtonsoft.Json.JsonSerializerSettings

Die Newtonsoft.Json.JsonSerializerSettings. Sollte entweder die anwendungsweiten Einstellungen (SerializerSettings) oder ein instance CreateSerializerSettings() ursprünglich zurückgegeben werden.

charPool
ArrayPool<Char>

Die ArrayPool<T>.

mvcOptions
MvcOptions

Die MvcOptions.

Attribute

Gilt für:

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

Quelle:
NewtonsoftJsonOutputFormatter.cs
Quelle:
NewtonsoftJsonOutputFormatter.cs
Quelle:
NewtonsoftJsonOutputFormatter.cs

Initialisiert eine neue Instanz von 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)

Parameter

serializerSettings
Newtonsoft.Json.JsonSerializerSettings

Die Newtonsoft.Json.JsonSerializerSettings. Sollte entweder die anwendungsweiten Einstellungen (SerializerSettings) oder ein instance CreateSerializerSettings() ursprünglich zurückgegeben werden.

charPool
ArrayPool<Char>

Die ArrayPool<T>.

mvcOptions
MvcOptions

Die MvcOptions.

Gilt für: