PersistentStateAttributeMapper.GetFactory Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
- attribute
- PersistentStateAttribute
Returns
The factory used to create facet instances for a grain.