コード例 #1
0
 public EventConsumersController(ICommandBus commandBus, IGrainFactory grainFactory)
     : base(commandBus)
 {
     eventConsumerManagerGrain = grainFactory.GetGrain <IEventConsumerManagerGrain>(SingleGrain.Id);
 }
コード例 #2
0
 public StartEventConsumers(IGrainFactory grainFactory)
 {
     eventConsumerManager = grainFactory.GetGrain <IEventConsumerManagerGrain>(SingleGrain.Id);
 }
コード例 #3
0
 public void Initialize()
 {
     eventConsumerManagerGrain = factory.GetGrain <IEventConsumerManagerGrain>("Default");
 }