OrleansJsonSerializer 构造函数

定义

重载

OrleansJsonSerializer(IOptions<OrleansJsonSerializerOptions>)

初始化 OrleansJsonSerializer 类的新实例。

OrleansJsonSerializer(IServiceProvider)
OrleansJsonSerializer(SerializationManager, IGrainFactory)

OrleansJsonSerializer(IOptions<OrleansJsonSerializerOptions>)

初始化 OrleansJsonSerializer 类的新实例。

public OrleansJsonSerializer (Microsoft.Extensions.Options.IOptions<Orleans.Serialization.OrleansJsonSerializerOptions> options);
new Orleans.Serialization.OrleansJsonSerializer : Microsoft.Extensions.Options.IOptions<Orleans.Serialization.OrleansJsonSerializerOptions> -> Orleans.Serialization.OrleansJsonSerializer
Public Sub New (options As IOptions(Of OrleansJsonSerializerOptions))

参数

适用于

OrleansJsonSerializer(IServiceProvider)

Source:
OrleansJsonSerializer.cs
public OrleansJsonSerializer (IServiceProvider services);
new Orleans.Serialization.OrleansJsonSerializer : IServiceProvider -> Orleans.Serialization.OrleansJsonSerializer
Public Sub New (services As IServiceProvider)

参数

services
IServiceProvider

适用于

OrleansJsonSerializer(SerializationManager, IGrainFactory)

public OrleansJsonSerializer (Orleans.Serialization.SerializationManager serializationManager, Orleans.IGrainFactory grainFactory);
new Orleans.Serialization.OrleansJsonSerializer : Orleans.Serialization.SerializationManager * Orleans.IGrainFactory -> Orleans.Serialization.OrleansJsonSerializer
Public Sub New (serializationManager As SerializationManager, grainFactory As IGrainFactory)

参数

serializationManager
SerializationManager
grainFactory
IGrainFactory

适用于