Compartilhar via


PlacementStrategy.PopulateGrainProperties Método

Definição

Preenche as propriedades de granularidade para especificar a estratégia de posicionamento preferencial.

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

Parâmetros

services
IServiceProvider

O provedor de serviços.

grainClass
Type

A classe de granularidade.

grainType
GrainType

O tipo de granularidade.

properties
Dictionary<String,String>

As propriedades de granularidade que serão preenchidas por essa chamada de método.

Aplica-se a