GrainContextActivator 构造函数

定义

初始化 GrainContextActivator 类的新实例。

public GrainContextActivator (System.Collections.Generic.IEnumerable<Orleans.Runtime.IGrainContextActivatorProvider> providers, System.Collections.Generic.IEnumerable<Orleans.Runtime.IConfigureGrainContextProvider> configureContextActions, Orleans.Metadata.GrainPropertiesResolver grainPropertiesResolver);
new Orleans.Runtime.GrainContextActivator : seq<Orleans.Runtime.IGrainContextActivatorProvider> * seq<Orleans.Runtime.IConfigureGrainContextProvider> * Orleans.Metadata.GrainPropertiesResolver -> Orleans.Runtime.GrainContextActivator
Public Sub New (providers As IEnumerable(Of IGrainContextActivatorProvider), configureContextActions As IEnumerable(Of IConfigureGrainContextProvider), grainPropertiesResolver As GrainPropertiesResolver)

参数

providers
IEnumerable<IGrainContextActivatorProvider>

grain 上下文激活器提供程序。

configureContextActions
IEnumerable<IConfigureGrainContextProvider>

提供程序 IConfigureGrainContext

grainPropertiesResolver
GrainPropertiesResolver

grain 属性解析程序。

适用于