public void Visit(ITopologyVisitor visitor) { Preconditions.CheckNotNull(visitor, "visitor"); Exchange.Visit(visitor); visitor.CreateBinding(Bindable, Exchange, RoutingKeys); }
public void Visit(ITopologyVisitor visitor) { if (visitor == null) { throw new ArgumentNullException("visitor"); } Exchange.Visit(visitor); visitor.CreateBinding(Bindable, Exchange, RoutingKeys); }