Example #1
0
 public ChatHandler(ConnectionService connections,
                    IMessageService messageService,
                    IChatUserService userService) : base(connections)
 {
     _messageService = messageService;
     _userService    = userService;
 }
Example #2
0
 public MessageService(
     IChatUserService userService,
     IRoomService roomService)
 {
     _userService = userService;
     _roomService = roomService;
 }
Example #3
0
 public BaseHandler(
     IChatUserService userService,
     IRoomService roomService
     )
 {
     _userService = userService;
     _roomService = roomService;
 }
Example #4
0
 public ChatUserController(IChatUserService chatUserService)
 {
     _chatUserService = chatUserService;
 }
Example #5
0
 public ExitRoomHandler(
     IChatUserService userService,
     IRoomService roomService)
     : base(userService, roomService)
 {
 }
Example #6
0
 public RegisterUserHandler(IChatUserService userService)
     : base(userService)
 {
 }
Example #7
0
 public void Setup()
 {
     _roomService    = new RoomService();
     _userService    = new ChatUserService();
     _messageService = new MessageService(_userService, _roomService);
 }
Example #8
0
 public MessagingHandler(
     IChatUserService userService,
     IRoomService roomService)
     : base(userService, roomService)
 {
 }
Example #9
0
 public BaseHandler(
     IChatUserService userService
     )
 {
     _userService = userService;
 }