共用方式為


PlacementAttribute.Populate 方法

定義

將粒紋屬性新增至 properties

public virtual 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 Overridable Sub Populate (services As IServiceProvider, grainClass As Type, grainType As GrainType, properties As Dictionary(Of String, String))

參數

services
IServiceProvider

服務提供者。

grainClass
Type

粒紋類別。

grainType
GrainType

粒紋類型識別碼。

properties
Dictionary<String,String>

呼叫這個方法的屬性集合應該填入。

實作

適用於