コード例 #1
0
        public static void Main()
        {
            DeadLatter        _deadLetterChannel = new DeadLatter();
            SubscriberService subscriberService  = new SubscriberService(_deadLetterChannel);

            subscriberService.StartSubscriberService();

            PublisherService publisherService = new PublisherService(_deadLetterChannel);

            publisherService.StartPublisherService();

            Console.ReadLine();
        }
コード例 #2
0
 public SubscriberService(DeadLatter _deadLetterChannel)
 {
     this._deadLetterChannel = _deadLetterChannel;
 }
コード例 #3
0
 public PublisherService(DeadLatter _deadLetterChannel)
 {
     this._deadLetterChannel = _deadLetterChannel;
 }