Skip to content

GrainClassMap Methods

Mapping between GrainType and implementing System.Type.

TryGetGrainClass(GrainType, Type?)

View source
public bool TryGetGrainClass(GrainType grainType, out Type? grainClass)
Returns the grain class type corresponding to the provided grain type.

Parameters

grainTypeGrainType
Type of the grain.
grainClassType?
The grain class.

Returns

true if a corresponding grain class was found, false otherwise.