Example #1
0
 public bool IsGateEvaluated(Gate gate)
 {
     return(_gateEvaluationValues[gate.Context.CircuitUniqueId].IsPresent);
 }
Example #2
0
 public void SetGateEvaluationValue(Gate gate, T value)
 {
     _gateEvaluationValues[gate.Context.CircuitUniqueId] = Optional <T> .FromValue(value);
 }
 public bool IsGateEvaluated(Gate gate)
 {
     return(_gateEvaluationValues[gate.Id].IsPresent);
 }
Example #4
0
 private Wire(Gate gate)
 {
     _gate = gate;
 }
 public void SetGateEvaluationValue(Gate gate, T value)
 {
     _gateEvaluationValues[gate.Id] = Optional <T> .FromValue(value);
 }