mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-04-23 00:32:50 +08:00
+semver: breaking
This commit is contained in:
parent
3ac9b3bd87
commit
f1244ff3d4
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;}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user