public bool IsGateEvaluated(Gate gate) { return(_gateEvaluationValues[gate.Context.CircuitUniqueId].IsPresent); }
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); }
private Wire(Gate gate) { _gate = gate; }
public void SetGateEvaluationValue(Gate gate, T value) { _gateEvaluationValues[gate.Id] = Optional <T> .FromValue(value); }