Skip to content

FaultInjectionTransactionalStateAttributeMapper 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, FaultInjectionTransactionalStateAttribute)

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

Parameters

parameterParameterInfo
The parameter info.
attributeFaultInjectionTransactionalStateAttribute
The metadata.

Returns

The factory used to create facet instances for a grain.