コード例 #1
0
        public Task StartAsync()
        {
            simulator = new MessageReceiverSimulator(incomingTransport);
            IOutgoingPipelineFactory outgoingFactory = CreateOutgoingPipelineFactory();
            IIncomingPipelineFactory incomingFactory = CreateIncomingPipelineFactory();

            unit = CreateBus(simulator, outgoingFactory, incomingFactory);
            return unit.StartAsync();
        }
コード例 #2
0
ファイル: Bus.cs プロジェクト: kjellski/async-dolls
 public IncomingBusDecorator(Bus bus, IncomingPipeline incomingPipeline, TransportMessage incoming)
 {
     this.incoming = incoming;
     this.incomingPipeline = incomingPipeline;
     this.bus = bus;
 }