Skip to content

OrleansDebuggerHelper.GetGrainInstance(object)

GetGrainInstance(object)

static
View source
public static object GetGrainInstance(object grainReference)
Returns the grain instance corresponding to the provided grainReference if it is activated on current silo.

Parameters

grainReferenceobject
The grain reference.

Returns

The grain instance corresponding to the provided grainReference if it is activated on current silo, or null otherwise.