U4-7014 - merge IServerRegistrar2 into IServerRegistrar

This commit is contained in:
Stephan
2016-06-20 17:30:49 +02:00
parent a8975e6c41
commit 78ab9c087d
9 changed files with 38 additions and 48 deletions

View File

@@ -185,15 +185,19 @@ namespace Umbraco.Tests.Cache.DistributedCache
internal class TestServerRegistrar : IServerRegistrar
{
public IEnumerable<IServerAddress> Registrations
public IEnumerable<IServerAddress> Registrations => new List<IServerAddress>
{
get
{
return new List<IServerAddress>()
{
new TestServerAddress("localhost")
};
}
new TestServerAddress("localhost")
};
public ServerRole GetCurrentServerRole()
{
throw new NotImplementedException();
}
public string GetCurrentServerUmbracoApplicationUrl()
{
throw new NotImplementedException();
}
}