コード例 #1
0
        public BusConnector(IDispatcher left, IDispatcher right)
        {
            _left  = new BusAdapter(left);
            _right = new BusAdapter(right);

            _left.Subscribe(_right);
            _right.Subscribe(_left);
        }
コード例 #2
0
        public BusConnector(IGeneralBus left, IGeneralBus right)
        {
            _left  = new BusAdapter(left);
            _right = new BusAdapter(right);

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