Edytuj

Udostępnij za pośrednictwem


IGrainBindingsProviderAttribute.GetBindings Method

Definition

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.

Applies to