Skip to content

IGrainReferenceActivatorProvider Methods

Functionality for getting the appropriate IGrainReferenceActivator for a given GrainType and GrainInterfaceType.

TryGet(GrainType, GrainInterfaceType, IGrainReferenceActivator?)

abstract
public abstract bool TryGet(GrainType grainType, GrainInterfaceType interfaceType, out IGrainReferenceActivator? activator)
Gets a grain reference activator for the provided arguments.

Parameters

grainTypeGrainType
The grain type.
interfaceTypeGrainInterfaceType
The grain interface type.
activatorIGrainReferenceActivator?
The grain activator.

Returns

A value indicating whether a suitable grain activator was found.