Esempio n. 1
0
 public ChatManager(ConnectionManager connectionManager, 
     ChatServiceProxy chatServiceProxy,
     INotificationService notificationService,
     AccountManager accountManager) : base(connectionManager)
 {
     _chatServiceProxy = chatServiceProxy;
     _notificationService = notificationService;
     _accountManager = accountManager;
     
     History = _messagesSubject = new ExtendedCcObservableCollection<Event>();
     OnlineUsers = _onlinePlayersSubject = new ExtendedCcObservableCollection<User>();
 }
Esempio n. 2
0
 public BlacklistManager(ConnectionManager connectionManager,
     BlacklistServiceProxy blacklistServiceProxy) : base(connectionManager)
 {
     _blacklistServiceProxy = blacklistServiceProxy;
     Blacklist = _blacklistSubject = new ExtendedCcObservableCollection<User>();
 }