ReentrantAttribute.Populate 方法

定义

将 grain 属性添加到 properties

public void Populate (IServiceProvider services, Type grainClass, Orleans.Runtime.GrainType grainType, System.Collections.Generic.Dictionary<string,string> properties);
abstract member Populate : IServiceProvider * Type * Orleans.Runtime.GrainType * System.Collections.Generic.Dictionary<string, string> -> unit
override this.Populate : IServiceProvider * Type * Orleans.Runtime.GrainType * System.Collections.Generic.Dictionary<string, string> -> unit
Public Sub Populate (services As IServiceProvider, grainClass As Type, grainType As GrainType, properties As Dictionary(Of String, String))

参数

services
IServiceProvider

服务提供程序。

grainClass
Type

grain 类。

grainType
GrainType

粒度类型 ID。

properties
Dictionary<String,String>

调用此方法的属性集合应填充。

实现

适用于