mirror of
				https://github.com/nsnail/Ocelot.git
				synced 2025-11-04 08:15:27 +08:00 
			
		
		
		
	Feature/remove rafty (#544)
* #529 removed raft * #529 Rafty needs properties exposed
This commit is contained in:
		@@ -1,6 +1,11 @@
 | 
			
		||||
namespace Ocelot.DependencyInjection
 | 
			
		||||
{
 | 
			
		||||
    using Microsoft.Extensions.Configuration;
 | 
			
		||||
    using Microsoft.Extensions.DependencyInjection;
 | 
			
		||||
 | 
			
		||||
    public interface IOcelotAdministrationBuilder
 | 
			
		||||
    {
 | 
			
		||||
        IServiceCollection Services { get; }
 | 
			
		||||
        IConfiguration ConfigurationRoot { get; }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -1,12 +1,12 @@
 | 
			
		||||
using Microsoft.Extensions.Configuration;
 | 
			
		||||
using Microsoft.Extensions.DependencyInjection;
 | 
			
		||||
 | 
			
		||||
namespace Ocelot.DependencyInjection
 | 
			
		||||
{
 | 
			
		||||
    using Microsoft.Extensions.Configuration;
 | 
			
		||||
    using Microsoft.Extensions.DependencyInjection;
 | 
			
		||||
 | 
			
		||||
    public class OcelotAdministrationBuilder : IOcelotAdministrationBuilder
 | 
			
		||||
    {
 | 
			
		||||
        private IServiceCollection Services { get; }
 | 
			
		||||
        private IConfiguration ConfigurationRoot { get; }
 | 
			
		||||
        public IServiceCollection Services { get; }
 | 
			
		||||
        public IConfiguration ConfigurationRoot { get; }
 | 
			
		||||
 | 
			
		||||
        public OcelotAdministrationBuilder(IServiceCollection services, IConfiguration configurationRoot)
 | 
			
		||||
        {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user