Skip to content

IGrainContextActivator Methods

Creates a grain context for the given grain address.

CreateContext(GrainAddress, IConfigureGrainContext[])

abstract
public abstract IGrainContext CreateContext(GrainAddress address, IConfigureGrainContext[] configureActions)
Creates a grain context for the given grain address.

Parameters

addressGrainAddress
The grain address.
configureActionsIConfigureGrainContext[]
The actions which must be used to configure the context before grain construction begins.

Returns

The newly created grain context.