Skip to content

KeepAliveAttribute Methods

When applied to a grain implementation type this attribute specifies that activations of the grain shouldn't be collected by the idle activation collector.

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

View source
public 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.