PlacementStrategy.PopulateGrainProperties Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.