Skip to content

GrainReferenceActivator Methods

The central point for creating GrainReference instances.

CreateReference(GrainId, GrainInterfaceType)

View source
public GrainReference CreateReference(GrainId grainId, GrainInterfaceType interfaceType)
Creates a grain reference pointing to the specified grain id and implementing the specified grain interface type.

Parameters

grainIdGrainId
The grain id.
interfaceTypeGrainInterfaceType
The grain interface type.

Returns

A new grain reference.