Пример #1
0
 public void SetActive()
 {
     RequestManager.SetActiveRoom(Name);
     active        = true;
     Notifications = 0;
     NotificationUpdated?.Invoke(Notifications);
     MessageReceived -= AddNotification;
 }
Пример #2
0
 private void OnNotificationUpdated(int position)
 {
     NotificationUpdated?.Invoke(this, new NotificationItemClickedEventArgs
     {
         Position = position
     }
                                 );
 }
Пример #3
0
 internal void AddNotification(ChatMessage s)
 {
     Notifications++;
     NotificationUpdated?.Invoke(Notifications);
 }