Skip to content

IAttributeToFactoryMapper<TMetadata> Methods

Responsible for mapping a facet metadata to a cachable factory.

GetFactory(ParameterInfo, TMetadata)

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

Parameters

parameterParameterInfo
The parameter info.
metadataTMetadata
The metadata.

Returns

The factory used to create facet instances for a grain.