コード例 #1
0
ファイル: ChatManager.cs プロジェクト: jorik041/CrossChat
 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
ファイル: ChatViewModel.cs プロジェクト: jorik041/CrossChat
 public ChatViewModel(ChatServiceProxy chatServiceProxy)
 {
     _chatServiceProxy = chatServiceProxy;
 }