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>(); }
public ChatViewModel(ChatServiceProxy chatServiceProxy) { _chatServiceProxy = chatServiceProxy; }