ImmovableAttribute.Populate 方法

定义

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

粒度类。

grainType
GrainType

粒度类型 ID。

properties
Dictionary<String,String>

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

实现

适用于