Redigera

Dela via


PlacementStrategy.PopulateGrainProperties Method

Definition

Populates grain properties to specify the preferred placement strategy.

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))

Parameters

services
IServiceProvider

The service provider.

grainClass
Type

The grain class.

grainType
GrainType

The grain type.

properties
Dictionary<String,String>

The grain properties which will be populated by this method call.

Applies to