mirror of
				https://github.com/nsnail/Ocelot.git
				synced 2025-11-04 09:15:27 +08:00 
			
		
		
		
	+semver: breaking
This commit is contained in:
		
							
								
								
									
										12
									
								
								src/Ocelot/DependencyInjection/AdministrationPath.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								src/Ocelot/DependencyInjection/AdministrationPath.cs
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,12 @@
 | 
			
		||||
namespace Ocelot.DependencyInjection
 | 
			
		||||
{
 | 
			
		||||
    public class AdministrationPath : IAdministrationPath
 | 
			
		||||
    {
 | 
			
		||||
        public AdministrationPath(string path)
 | 
			
		||||
        {
 | 
			
		||||
            Path = path;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        public string Path {get;private set;}
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										7
									
								
								src/Ocelot/DependencyInjection/IAdministrationPath.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								src/Ocelot/DependencyInjection/IAdministrationPath.cs
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,7 @@
 | 
			
		||||
namespace Ocelot.DependencyInjection
 | 
			
		||||
{
 | 
			
		||||
    public interface IAdministrationPath
 | 
			
		||||
    {
 | 
			
		||||
        string Path {get;}
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										12
									
								
								src/Ocelot/DependencyInjection/NullAdministrationPath.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								src/Ocelot/DependencyInjection/NullAdministrationPath.cs
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,12 @@
 | 
			
		||||
namespace Ocelot.DependencyInjection
 | 
			
		||||
{
 | 
			
		||||
    public class NullAdministrationPath : IAdministrationPath
 | 
			
		||||
    {
 | 
			
		||||
        public NullAdministrationPath()
 | 
			
		||||
        {
 | 
			
		||||
            Path = null;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        public string Path {get;private set;}
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
@@ -304,29 +304,4 @@ namespace Ocelot.DependencyInjection
 | 
			
		||||
            return this;
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public interface IAdministrationPath
 | 
			
		||||
    {
 | 
			
		||||
        string Path {get;}
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public class NullAdministrationPath : IAdministrationPath
 | 
			
		||||
    {
 | 
			
		||||
        public NullAdministrationPath()
 | 
			
		||||
        {
 | 
			
		||||
            Path = null;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        public string Path {get;private set;}
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public class AdministrationPath : IAdministrationPath
 | 
			
		||||
    {
 | 
			
		||||
        public AdministrationPath(string path)
 | 
			
		||||
        {
 | 
			
		||||
            Path = path;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        public string Path {get;private set;}
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user