예제 #1
0
 public XorGateBuilder WithInput(IHaveOutput input)
 {
     _inputs.Add(input);
     return(this);
 }
예제 #2
0
 public NotGateBuilder WithInput(IHaveOutput input)
 {
     _input = input;
     return(this);
 }
예제 #3
0
 public void SetInput(IHaveOutput input) =>
 Input = input;
예제 #4
0
 public void AddInput(IHaveOutput input) =>
 Inputs.Add(input);