mirror of
				https://github.com/nsnail/Ocelot.git
				synced 2025-11-04 22:10:49 +08:00 
			
		
		
		
	Add 'Name' property to ILoadBalancer, for future use in LoadBalancerFactory.
This commit is contained in:
		@@ -164,6 +164,8 @@ namespace Ocelot.UnitTests.LoadBalancer
 | 
			
		||||
            {
 | 
			
		||||
                throw new NotImplementedException();
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            public string Name => GetType().Name;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        private class FakeRoundRobinLoadBalancer : ILoadBalancer
 | 
			
		||||
@@ -177,6 +179,8 @@ namespace Ocelot.UnitTests.LoadBalancer
 | 
			
		||||
            {
 | 
			
		||||
                throw new NotImplementedException();
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            public string Name => GetType().Name;
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user