Compartir a través de


PersistentStateAttributeMapper.GetFactory Método

Definición

Responsable de asignar metadatos de faceta a un generador accesible desde los metadatos de parámetro y faceta.

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)

Parámetros

parameter
ParameterInfo

Información del parámetro.

Devoluciones

Generador que se usa para crear instancias de faceta para un grano.

Implementaciones

Se aplica a