public AuthenticationService( JabbRClient jabbrClient, UserService userService, RoomService roomService) { _client = jabbrClient; _userService = userService; _roomService = roomService; }
public RoomViewModel( MessageService messageService, RoomService roomService, UserService userService) { _messageService = messageService; _roomService = roomService; _userService = userService; _messages = new BindableCollection<MessageViewModel>(); _users = new BindableCollection<RoomUserViewModel>(); }
public MessageService( ServiceLocator serviceLocator, UserService userService, JabbRClient client, RoomService roomService) { _serviceLocator = serviceLocator; _userService = userService; _roomService = roomService; _client = client; _client.MessageReceived += OnMessageReceived; }
public RoomService(JabbRClient client, ServiceLocator serviceLocator, UserService userService) { _client = client; _serviceLocator = serviceLocator; _userService = userService; _client.Kicked += OnKicked; _client.OwnerAdded += OnOwnerAdded; _client.OwnerRemoved += OnOwnerRemoved; _client.RoomCountChanged += OnRoomCountChanged; _client.TopicChanged += OnTopicChanged; _client.UserJoined += OnUserJoined; _client.UserLeft += OnUserLeft; _client.UserTyping += OnUserTyping; }