示例#1
0
 public ChatHub(IChatRoomService roomService, IServerCommands serverCommands, IChatMessageService chatMessageService, IConnectionService connectionService)
 {
     _roomService        = roomService;
     _serverCommands     = serverCommands;
     _chatMessageService = chatMessageService;
     _connectionService  = connectionService;
 }
 public ServersController(
     IServerQueries serverQueries,
     IServerCommands serverCommands,
     IHostSettings hostSettings)
 {
     _serverQueries  = serverQueries;
     _serverCommands = serverCommands;
     _hostSettings   = hostSettings;
 }
示例#3
0
 public PublicHub(IPublicRoomService publicRoomService, IServerCommands serverCommands, IConnectionService connectionService)
 {
     _publicRoomService = publicRoomService;
     _serverCommands    = serverCommands;
     _connectionService = connectionService;
 }