public TopicSubscriptionObserver([NotNull] InboundAzureServiceBusTransport inboundTransport, [NotNull] IMessageNameFormatter formatter)
        {
            if (formatter == null)
                throw new ArgumentNullException("formatter");
            if (inboundTransport == null)
                throw new ArgumentNullException("inboundTransport");

            _formatter = formatter;
            _inboundTransport = inboundTransport;

            _bindings = new Dictionary<Guid, TopicDescription>();
        }
Ejemplo n.º 2
0
        public TopicSubscriptionObserver([NotNull] InboundAzureServiceBusTransport inboundTransport, [NotNull] IMessageNameFormatter formatter)
        {
            if (formatter == null)
            {
                throw new ArgumentNullException("formatter");
            }
            if (inboundTransport == null)
            {
                throw new ArgumentNullException("inboundTransport");
            }

            _formatter        = formatter;
            _inboundTransport = inboundTransport;

            _bindings = new Dictionary <Guid, TopicDescription>();
        }