public EventConsumersController(ICommandBus commandBus, IGrainFactory grainFactory) : base(commandBus) { eventConsumerManagerGrain = grainFactory.GetGrain <IEventConsumerManagerGrain>(SingleGrain.Id); }
public StartEventConsumers(IGrainFactory grainFactory) { eventConsumerManager = grainFactory.GetGrain <IEventConsumerManagerGrain>(SingleGrain.Id); }
public void Initialize() { eventConsumerManagerGrain = factory.GetGrain <IEventConsumerManagerGrain>("Default"); }