internal LoadBalancerImpl WithOutboundRule(LoadBalancerOutboundRuleImpl outboundRule)
 {
     if (outboundRule != null)
     {
         outboundRules[outboundRule.Name()] = outboundRule;
     }
     return(this);
 }
 private void InitializeOutboundRulesFromInner()
 {
     outboundRules = new Dictionary <string, ILoadBalancerOutboundRule>();
     if (Inner.OutboundRules != null)
     {
         foreach (var inner in Inner.OutboundRules)
         {
             var wrapper = new LoadBalancerOutboundRuleImpl(inner, this);
             outboundRules.Add(inner.Name, wrapper);
         }
     }
 }