Compartir a través de


OrleansJsonSerializer.UpdateSerializerSettings Método

Definición

Sobrecargas

UpdateSerializerSettings(JsonSerializerSettings, IProviderConfiguration)

Personaliza la configuración del serializador dada mediante la configuración del proveedor. Cualquier proveedor puede usarlo, lo que permite a los usuarios usar un conjunto estándar de atributos de configuración.

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

UpdateSerializerSettings(JsonSerializerSettings, IProviderConfiguration)

Source:
OrleansJsonSerializer.cs

Personaliza la configuración del serializador dada mediante la configuración del proveedor. Cualquier proveedor puede usarlo, lo que permite a los usuarios usar un conjunto estándar de atributos de configuración.

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

Parámetros

settings
Newtonsoft.Json.JsonSerializerSettings

Configuración que se va a actualizar.

config
IProviderConfiguration

Configuración del proveedor.

Devoluciones

Newtonsoft.Json.JsonSerializerSettings

Newtonsoft.Json.JsonSerializerSettings actualizado.

Se aplica a

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

Source:
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

Parámetros

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

Devoluciones

Newtonsoft.Json.JsonSerializerSettings

Se aplica a