OrleansJsonSerializer.UpdateSerializerSettings 方法

定义

重载

UpdateSerializerSettings(JsonSerializerSettings, IProviderConfiguration)

使用提供程序配置自定义给定的序列化程序设置。 可由任何提供程序使用,允许用户使用一组标准配置属性。

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

UpdateSerializerSettings(JsonSerializerSettings, IProviderConfiguration)

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

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

参数

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

返回

Newtonsoft.Json.JsonSerializerSettings

适用于