Skip to content

IGrainPropertiesProviderAttribute Methods

Interface for System.Attribute classes which provide information about a grain.

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

abstract
public abstract 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.