Edit

Share via


GrainClassMap.TryGetGrainClass(GrainType, Type) Method

Definition

Returns the grain class type corresponding to the provided grain type.

public bool TryGetGrainClass (Orleans.Runtime.GrainType grainType, out Type grainClass);
member this.TryGetGrainClass : Orleans.Runtime.GrainType * Type -> bool
Public Function TryGetGrainClass (grainType As GrainType, ByRef grainClass As Type) As Boolean

Parameters

grainType
GrainType

Type of the grain.

grainClass
Type

The grain class.

Returns

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

Applies to