Esempio n. 1
0
        public override bool disconnect(int index)
        {
            if (this.connections.Count > index)
            {
                return(false);
            }
            connectable <T> target = this.connections[index];

            target.remove_connection(this);
            this.remove_connection(target);
            return(true);
        }
Esempio n. 2
0
 public override bool disconnect(connectable <T> target)
 {
     target.remove_connection(this);
     return(true);
 }