PersistentStateAttributeMapper.GetFactory 方法

定义

负责将 facet 元数据从参数和 facet 元数据映射到可缓存工厂。

public Orleans.Factory<Orleans.Runtime.IGrainActivationContext,object> GetFactory (System.Reflection.ParameterInfo parameter, Orleans.Runtime.PersistentStateAttribute attribute);
public Orleans.Factory<Orleans.Runtime.IGrainContext,object> GetFactory (System.Reflection.ParameterInfo parameter, Orleans.Runtime.PersistentStateAttribute attribute);
abstract member GetFactory : System.Reflection.ParameterInfo * Orleans.Runtime.PersistentStateAttribute -> Orleans.Factory<Orleans.Runtime.IGrainActivationContext, obj>
override this.GetFactory : System.Reflection.ParameterInfo * Orleans.Runtime.PersistentStateAttribute -> Orleans.Factory<Orleans.Runtime.IGrainActivationContext, obj>
abstract member GetFactory : System.Reflection.ParameterInfo * Orleans.Runtime.PersistentStateAttribute -> Orleans.Factory<Orleans.Runtime.IGrainContext, obj>
override this.GetFactory : System.Reflection.ParameterInfo * Orleans.Runtime.PersistentStateAttribute -> Orleans.Factory<Orleans.Runtime.IGrainContext, obj>
Public Function GetFactory (parameter As ParameterInfo, attribute As PersistentStateAttribute) As Factory(Of IGrainActivationContext, Object)
Public Function GetFactory (parameter As ParameterInfo, attribute As PersistentStateAttribute) As Factory(Of IGrainContext, Object)

参数

parameter
ParameterInfo

参数信息。

返回

用于为 grain 创建 facet 实例的工厂。

实现

适用于