Exemplo n.º 1
0
        public void Add(ConnectionViewModel connection)
        {
            if (_connections.Contains(connection))
            {
                return;
            }

            _connections.Add(connection);
            OnPropertyChanged(nameof(Connections));
        }
Exemplo n.º 2
0
 public void Remove(ConnectionViewModel connection)
 {
     _connections.Remove(connection);
     OnPropertyChanged(nameof(Connections));
 }