Freigeben über


OrleansJsonSerializer.UpdateSerializerSettings Methode

Definition

Überlädt

UpdateSerializerSettings(JsonSerializerSettings, IProviderConfiguration)

Passen Sie die angegebenen Serializereinstellungen mithilfe der Anbieterkonfiguration an. Kann von jedem Anbieter verwendet werden, sodass die Benutzer einen Standardsatz von Konfigurationsattributen verwenden können.

UpdateSerializerSettings(JsonSerializerSettings, Boolean, Boolean, Nullable<TypeNameHandling>)

UpdateSerializerSettings(JsonSerializerSettings, IProviderConfiguration)

Quelle:
OrleansJsonSerializer.cs

Passen Sie die angegebenen Serializereinstellungen mithilfe der Anbieterkonfiguration an. Kann von jedem Anbieter verwendet werden, sodass die Benutzer einen Standardsatz von Konfigurationsattributen verwenden können.

public static Newtonsoft.Json.JsonSerializerSettings UpdateSerializerSettings (Newtonsoft.Json.JsonSerializerSettings settings, Orleans.Providers.IProviderConfiguration config);
static member UpdateSerializerSettings : Newtonsoft.Json.JsonSerializerSettings * Orleans.Providers.IProviderConfiguration -> Newtonsoft.Json.JsonSerializerSettings
Public Shared Function UpdateSerializerSettings (settings As JsonSerializerSettings, config As IProviderConfiguration) As JsonSerializerSettings

Parameter

settings
Newtonsoft.Json.JsonSerializerSettings

Die zu aktualisierenden Einstellungen.

config
IProviderConfiguration

Die Anbieterkonfiguration.

Gibt zurück

Newtonsoft.Json.JsonSerializerSettings

Der aktualisierte Newtonsoft.Json.JsonSerializerSettings.

Gilt für:

UpdateSerializerSettings(JsonSerializerSettings, Boolean, Boolean, Nullable<TypeNameHandling>)

Quelle:
OrleansJsonSerializer.cs
public static Newtonsoft.Json.JsonSerializerSettings UpdateSerializerSettings (Newtonsoft.Json.JsonSerializerSettings settings, bool useFullAssemblyNames, bool indentJson, Newtonsoft.Json.TypeNameHandling? typeNameHandling);
static member UpdateSerializerSettings : Newtonsoft.Json.JsonSerializerSettings * bool * bool * Nullable<Newtonsoft.Json.TypeNameHandling> -> Newtonsoft.Json.JsonSerializerSettings
Public Shared Function UpdateSerializerSettings (settings As JsonSerializerSettings, useFullAssemblyNames As Boolean, indentJson As Boolean, typeNameHandling As Nullable(Of TypeNameHandling)) As JsonSerializerSettings

Parameter

settings
Newtonsoft.Json.JsonSerializerSettings
useFullAssemblyNames
Boolean
indentJson
Boolean
typeNameHandling
Nullable<Newtonsoft.Json.TypeNameHandling>

Gibt zurück

Newtonsoft.Json.JsonSerializerSettings

Gilt für: