示例#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>();
 }
示例#2
0
 public ChatViewModel(ChatServiceProxy chatServiceProxy)
 {
     _chatServiceProxy = chatServiceProxy;
 }