共用方式為


TransactionalStateFactory.GetJsonSerializerSettings 方法

定義

多載

GetJsonSerializerSettings(IServiceProvider)
GetJsonSerializerSettings(ITypeResolver, IGrainFactory)

GetJsonSerializerSettings(IServiceProvider)

public static Newtonsoft.Json.JsonSerializerSettings GetJsonSerializerSettings (IServiceProvider serviceProvider);
static member GetJsonSerializerSettings : IServiceProvider -> Newtonsoft.Json.JsonSerializerSettings
Public Shared Function GetJsonSerializerSettings (serviceProvider As IServiceProvider) As JsonSerializerSettings

參數

serviceProvider
IServiceProvider

傳回

Newtonsoft.Json.JsonSerializerSettings

適用於

GetJsonSerializerSettings(ITypeResolver, IGrainFactory)

來源:
TransactionalStateFactory.cs
public static Newtonsoft.Json.JsonSerializerSettings GetJsonSerializerSettings (Orleans.Runtime.ITypeResolver typeResolver, Orleans.IGrainFactory grainFactory);
static member GetJsonSerializerSettings : Orleans.Runtime.ITypeResolver * Orleans.IGrainFactory -> Newtonsoft.Json.JsonSerializerSettings
Public Shared Function GetJsonSerializerSettings (typeResolver As ITypeResolver, grainFactory As IGrainFactory) As JsonSerializerSettings

參數

typeResolver
ITypeResolver
grainFactory
IGrainFactory

傳回

Newtonsoft.Json.JsonSerializerSettings

適用於