コード例 #1
0
        private void SendAMessage()
        {
            var bus = BusFactory.Create();

            var publisher = new DemoPublisher(bus);
            publisher.Publish();

            bus.Dispose();
        }
コード例 #2
0
        private void SendAMessage()
        {
            var bus = BusFactory.Create();

            var publisher = new DemoPublisher(bus);

            publisher.Publish();

            bus.Dispose();
        }