Skip to content

TransactionalStateAttributeMapper<TAttribute> Methods

Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.

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.