Пример #1
0
 public HubMethods(
     IAgentProvider agentProvider,
     IConnectionService connectionService,
     IWalletRecordService walletRecordService,
     IWalletService walletService,
     MessageQueue <InboxItemRecord> messageQueue,
     IHubContext <MediatorHub> hubContext,
     HubConnectionSubscriberManager hubConnectionSubscriberManager)
 {
     _agentProvider                  = agentProvider;
     _connectionService              = connectionService;
     _walletRecordService            = walletRecordService;
     _walletService                  = walletService;
     _hubContext                     = hubContext;
     _messageQueue                   = messageQueue;
     _hubConnectionSubscriberManager = hubConnectionSubscriberManager;
 }
Пример #2
0
 public MediatorHub(HubMethods hubMethods, HubConnectionSubscriberManager hubConnectionSubscriberManager)
 {
     _hubMethods = hubMethods;
     _hubConnectionSubscriberManager = hubConnectionSubscriberManager;
 }