Edit

Share via


IGrainReferenceActivatorProvider.TryGet Method

Definition

Gets a grain reference activator for the provided arguments.

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

Parameters

grainType
GrainType

The grain type.

interfaceType
GrainInterfaceType

The grain interface type.

activator
IGrainReferenceActivator

The grain activator.

Returns

A value indicating whether a suitable grain activator was found.

Applies to