Exemplo n.º 1
0
        public ISubscriptionTag Subscribe <T>(Action <Message <T> > subscriber, int queueCapacity = 1)
        {
            var messageSubscriber = new MessageSubscriber <T>(subscriber, this.logServiceProvider);

            return(this.Subscribe <T>(messageSubscriber, queueCapacity));
        }
Exemplo n.º 2
0
Arquivo: Bus.cs Projeto: lulzzz/Kontur
        public ISubscriptionTag Subscribe <T>(Action <Message <T> > subscriber, int queueCapacity = 1)
        {
            MessageSubscriber <T> messageSubscriber = new MessageSubscriber <T>(subscriber);

            return(this.Subscribe <T>(messageSubscriber, queueCapacity));
        }