Exemple #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));
        }
Exemple #2
0
        public ISubscriptionTag Subscribe <T>(Action <Message <T> > subscriber, int queueCapacity = 1)
        {
            MessageSubscriber <T> messageSubscriber = new MessageSubscriber <T>(subscriber);

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