示例#1
0
 protected Gate(Gate inGate1, Gate inGate2, Gate outGate)
 {
     InGates[0] = inGate1;
     InGates[1] = inGate2;
     OutGate    = outGate;
 }
示例#2
0
 private static void Connect(Gate source, Gate dest, int destIdx)
 {
     dest.InGates[destIdx] = source;
     source.OutGate        = dest;
 }
示例#3
0
 protected Gate()
 {
     InGates[0] = null;
     InGates[1] = null;
     OutGate    = null;
 }