private void OnNewConnect(NewConnect newConnect) { _uiFactory.StartNew(() => newConnect.Users.ForEach(x => { if (!_connectedClients.Contains(x)) { _connectedClients.Add(x); } })); }
public void Handle(NewConnect message) { OnNewConnect?.Invoke(message); }