ImplicitChannelSubscriptionAttribute.GetBindings 方法

定义

获取此属性所附加到的类型的绑定。

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>>
override this.GetBindings : IServiceProvider * Type * Orleans.Runtime.GrainType -> seq<System.Collections.Generic.Dictionary<string, string>>
Public Iterator Overridable NotOverridable Function GetBindings (services As IServiceProvider, grainClass As Type, grainType As GrainType) As IEnumerable(Of Dictionary(Of String, String))

参数

services
IServiceProvider

服务提供程序。

grainClass
Type

grain 类。

grainType
GrainType

粒度类型。

返回

指定 grain 的绑定。

实现

适用于