Edit

Share via


IConfigureGrainContextProvider.TryGetConfigurator Method

Definition

Provides a IConfigureGrainContext instance for the provided grain type.

public bool TryGetConfigurator (Orleans.Runtime.GrainType grainType, Orleans.Metadata.GrainProperties properties, out Orleans.Runtime.IConfigureGrainContext configurator);
abstract member TryGetConfigurator : Orleans.Runtime.GrainType * Orleans.Metadata.GrainProperties * IConfigureGrainContext -> bool
Public Function TryGetConfigurator (grainType As GrainType, properties As GrainProperties, ByRef configurator As IConfigureGrainContext) As Boolean

Parameters

grainType
GrainType

Type of the grain.

properties
GrainProperties

The grain properties.

configurator
IConfigureGrainContext

The configuration provider.

Returns

true if a configuration provider was found, false otherwise.

Applies to