public Main() { InitializeComponent(); NodeMediator nMediator = new NodeMediator(); NodeFactory nFactory = NodeFactory.Instance; CircuitBuilder nCircuitBuilder = new CircuitBuilder(nMediator, nFactory); controller = new CircuitController(nMediator, nCircuitBuilder); }
public CircuitController(NodeMediator mediator, CircuitBuilder circuit) { _NodeMediator = mediator; _CircuitBuilder = circuit; }
public CircuitBuilder(NodeMediator mediator, NodeFactory factory) { _NodeMediator = mediator; _NodeFactory = factory; StringList = new ObservableCollection <string>(); }