共用方式為


OrleansJsonSerializer.UpdateSerializerSettings 方法

定義

多載

UpdateSerializerSettings(JsonSerializerSettings, IProviderConfiguration)

使用提供者組態來調整指定的序列化程式設定。 可供任何提供者使用,允許使用者使用一組標準組態屬性。

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

UpdateSerializerSettings(JsonSerializerSettings, IProviderConfiguration)

來源:
OrleansJsonSerializer.cs

使用提供者組態來調整指定的序列化程式設定。 可供任何提供者使用,允許使用者使用一組標準組態屬性。

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

參數

settings
Newtonsoft.Json.JsonSerializerSettings

要更新的設定。

config
IProviderConfiguration

提供者設定。

傳回

Newtonsoft.Json.JsonSerializerSettings

更新的 Newtonsoft.Json.JsonSerializerSettings

適用於

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

來源:
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

參數

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

傳回

Newtonsoft.Json.JsonSerializerSettings

適用於