コード例 #1
0
ファイル: ChatHub.cs プロジェクト: WojciechSzweda/CzadRoom
 public ChatHub(IChatRoomService roomService, IServerCommands serverCommands, IChatMessageService chatMessageService, IConnectionService connectionService)
 {
     _roomService        = roomService;
     _serverCommands     = serverCommands;
     _chatMessageService = chatMessageService;
     _connectionService  = connectionService;
 }
コード例 #2
0
 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;
 }