コード例 #1
0
 public AuthenticationService(
     JabbRClient jabbrClient,
     UserService userService,
     RoomService roomService)
 {
     _client = jabbrClient;
     _userService = userService;
     _roomService = roomService;
 }
コード例 #2
0
 public AuthenticationService(
     JabbRClient jabbrClient,
     UserService userService,
     RoomService roomService)
 {
     _client      = jabbrClient;
     _userService = userService;
     _roomService = roomService;
 }
コード例 #3
0
 public RoomViewModel(
     MessageService messageService,
     RoomService roomService,
     UserService userService)
 {
     _messageService = messageService;
     _roomService = roomService;
     _userService = userService;
     _messages = new BindableCollection<MessageViewModel>();
     _users = new BindableCollection<RoomUserViewModel>();
 }
コード例 #4
0
        public MessageService(
            ServiceLocator serviceLocator,
            UserService userService,
            JabbRClient client,
            RoomService roomService)
        {
            _serviceLocator = serviceLocator;
            _userService = userService;
            _roomService = roomService;
            _client = client;

            _client.MessageReceived += OnMessageReceived;
        }
コード例 #5
0
        public MessageService(
            ServiceLocator serviceLocator,
            UserService userService,
            JabbRClient client,
            RoomService roomService)
        {
            _serviceLocator = serviceLocator;
            _userService    = userService;
            _roomService    = roomService;
            _client         = client;

            _client.MessageReceived += OnMessageReceived;
        }