Edit

Share via


PersistentStateAttributeMapper.GetFactory Method

Definition

Responsible for mapping a facet metadata to a cachable factory from the parameter and facet metadata.

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)

Parameters

parameter
ParameterInfo

The parameter info.

Returns

The factory used to create facet instances for a grain.

Implements

Applies to