Skip to content

OrleansDebuggerHelper Methods

Utility methods for aiding debugger sessions.

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.