Exemplo n.º 1
0
        public BusConnector(IDispatcher left, IDispatcher right)
        {
            _left  = new BusAdapter(left);
            _right = new BusAdapter(right);

            _left.Subscribe(_right);
            _right.Subscribe(_left);
        }
Exemplo n.º 2
0
        public BusConnector(IGeneralBus left, IGeneralBus right)
        {
            _left  = new BusAdapter(left);
            _right = new BusAdapter(right);

            _left.Subscribe(_right);
            _right.Subscribe(_left);
        }