Example #1
0
 public void Disconnect(Wire wire)
 {
     while (!this._wires.TryRemove(wire, out byte value))
     {
     }
 }
Example #2
0
        public void Connect(Node output, Node input, int inputIndex)
        {
            var wire = new Wire(output, input, inputIndex);

            this.Connect(wire);
        }
Example #3
0
 public bool Contains(Wire symbol)
 {
     return(this.wire.Contains(symbol));
 }