共用方式為


GrainDirectoryAttribute.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

細微性類型識別碼。

properties
Dictionary<String,String>

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

實作

適用於