Partager via


PlacementAttribute.Populate Méthode

Définition

Ajoute des propriétés de grain à 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))

Paramètres

services
IServiceProvider

Fournisseur de services.

grainClass
Type

Classe de grain.

grainType
GrainType

ID de type de grain.

properties
Dictionary<String,String>

La collection properties qui appelle cette méthode doit être renseignée.

Implémente

S’applique à