Example #1
0
 static void Main(string[] args)
 {
     NodeMediator      mediator = new NodeMediator();
     NodeFactory       factory  = NodeFactory.Instance;
     CircuitBuilder    builder  = new CircuitBuilder(mediator, factory);
     CircuitController ctrl     = new CircuitController(mediator, builder);
 }
Example #2
0
 public CircuitBuilder(NodeMediator mediator, NodeFactory factory)
 {
     _NodeMediator = mediator;
     _NodeFactory  = factory;
 }
Example #3
0
 public CircuitController(NodeMediator mediator, CircuitBuilder circuit)
 {
     _NodeMediator   = mediator;
     _CircuitBuilder = circuit;
 }