NewtonsoftJsonOutputFormatter Konstruktoren
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Ü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)
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.
Die ArrayPool<T>.
- mvcOptions
- MvcOptions
Die MvcOptions.
- Attribute
Gilt für:
NewtonsoftJsonOutputFormatter(JsonSerializerSettings, ArrayPool<Char>, MvcOptions, MvcNewtonsoftJsonOptions)
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.
Die ArrayPool<T>.
- mvcOptions
- MvcOptions
Die MvcOptions.
- jsonOptions
- MvcNewtonsoftJsonOptions
Gilt für:
Feedback
https://aka.ms/ContentUserFeedback.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Issues stufenweise als Feedbackmechanismus für Inhalte abbauen und durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unterFeedback senden und anzeigen für