Skip to content

PlacementAttribute Methods

Base for all placement policy marker attributes.

Populate(IServiceProvider, Type, GrainType, Dictionary<string, string>)

virtual
View source
public virtual void Populate(IServiceProvider services, Type grainClass, GrainType grainType, Dictionary<string, string> properties)
Adds grain properties to properties.

Parameters

servicesIServiceProvider
The service provider.
grainClassType
The grain class.
grainTypeGrainType
The grain type id.
propertiesDictionary<string, string>
The properties collection which calls to this method should populate.