IGrainBindingsProviderAttribute.GetBindings 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.
Gets bindings for the type this attribute is attached to.
public System.Collections.Generic.IEnumerable<System.Collections.Generic.Dictionary<string,string>> GetBindings (IServiceProvider services, Type grainClass, Orleans.Runtime.GrainType grainType);
abstract member GetBindings : IServiceProvider * Type * Orleans.Runtime.GrainType -> seq<System.Collections.Generic.Dictionary<string, string>>
Public Function GetBindings (services As IServiceProvider, grainClass As Type, grainType As GrainType) As IEnumerable(Of Dictionary(Of String, String))
Parameters
- services
- IServiceProvider
The service provider.
- grainClass
- Type
The grain class.
- grainType
- GrainType
The grain type.
Returns
The bindings for the specified grain.