Edit

Share via


IGrainContextActivatorProvider.TryGet Method

Definition

Returns a grain context activator for the given grain type.

public bool TryGet (Orleans.Runtime.GrainType grainType, out Orleans.Runtime.IGrainContextActivator activator);
abstract member TryGet : Orleans.Runtime.GrainType * IGrainContextActivator -> bool
Public Function TryGet (grainType As GrainType, ByRef activator As IGrainContextActivator) As Boolean

Parameters

grainType
GrainType

Type of the grain.

activator
IGrainContextActivator

The grain context activator.

Returns

true if an appropriate activator was found, otherwise false.

Applies to