예제 #1
0
        public void Visit(ITopologyVisitor visitor)
        {
            Preconditions.CheckNotNull(visitor, "visitor");

            Exchange.Visit(visitor);
            visitor.CreateBinding(Bindable, Exchange, RoutingKeys);
        }
예제 #2
0
        public void Visit(ITopologyVisitor visitor)
        {
            if (visitor == null)
            {
                throw new ArgumentNullException("visitor");
            }

            Exchange.Visit(visitor);
            visitor.CreateBinding(Bindable, Exchange, RoutingKeys);
        }