Пример #1
0
 private void OnNewConnect(NewConnect newConnect)
 {
     _uiFactory.StartNew(() => newConnect.Users.ForEach(x => {
         if (!_connectedClients.Contains(x))
         {
             _connectedClients.Add(x);
         }
     }));
 }
Пример #2
0
 public void Handle(NewConnect message)
 {
     OnNewConnect?.Invoke(message);
 }