Skip to content

TransactionalStateAttributeMapper<TAttribute>.GetFactory(ParameterInfo, TAttribute)

GetFactory(ParameterInfo, TAttribute)

View source
public Factory<IGrainContext, object> GetFactory(ParameterInfo parameter, TAttribute attribute)
Responsible for mapping a facet metadata to a cachable factory from the parameter and facet metadata.

Parameters

parameterParameterInfo
The parameter info.
attributeTAttribute
The metadata.

Returns

The factory used to create facet instances for a grain.