Move IServerInformation to Hosting.
This commit is contained in:
parent
fab55afca5
commit
58f759ac25
|
|
@ -36,15 +36,15 @@ namespace Microsoft.AspNet.Builder
|
|||
}
|
||||
}
|
||||
|
||||
public IServerInformation Server
|
||||
public object Server
|
||||
{
|
||||
get
|
||||
{
|
||||
return GetProperty<IServerInformation>(Constants.BuilderProperties.ServerInformation);
|
||||
return GetProperty<object>(Constants.BuilderProperties.ServerInformation);
|
||||
}
|
||||
set
|
||||
{
|
||||
SetProperty<IServerInformation>(Constants.BuilderProperties.ServerInformation, value);
|
||||
SetProperty<object>(Constants.BuilderProperties.ServerInformation, value);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ namespace Microsoft.AspNet.Builder
|
|||
{
|
||||
IServiceProvider ApplicationServices { get; set; }
|
||||
|
||||
IServerInformation Server { get; set; }
|
||||
object Server { get; set; }
|
||||
|
||||
IDictionary<string, object> Properties { get; set; }
|
||||
|
||||
|
|
|
|||
|
|
@ -1,10 +0,0 @@
|
|||
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
namespace Microsoft.AspNet.Builder
|
||||
{
|
||||
public interface IServerInformation
|
||||
{
|
||||
string Name { get; }
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue