IConfigureGrainContextProvider.TryGetConfigurator Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.