Пример #1
0
 private void WhenIGetTheNextHostAndPort()
 {
     _loadBalancer = new NoLoadBalancer(_services);
     _result       = _loadBalancer.Lease().Result;
 }
Пример #2
0
 private void WhenIGetTheNextHostAndPort()
 {
     _loadBalancer = new NoLoadBalancer(_services);
     _result       = _loadBalancer.Lease(new DownstreamContext(new DefaultHttpContext())).Result;
 }
Пример #3
0
 private void WhenIGetTheNextHostAndPort()
 {
     _result = _loadBalancer.Lease(new DefaultHttpContext()).Result;
 }