Exemplo n.º 1
0
        public TableHub(ICommandBus commundBus, ICallingServiceSubscriber callingService)
        {
            _commundBus = commundBus;

            callingService.SetRetriveTableMethod(() => Clients);
            callingService.SetCallingTableMethod(() => Context.ConnectionId);
        }
Exemplo n.º 2
0
 public WaiterHub(ICommandBus commandBus, ICallingServiceSubscriber callingService)
 {
     _commandBus = commandBus;
     callingService.SetRetriveWaiterMethod(() => Clients);
     callingService.SetCallingWaiterMethod(() => Context.ConnectionId);
 }