Skip to content

Commit 58f759a

Browse files
committed
Move IServerInformation to Hosting.
1 parent fab55af commit 58f759a

File tree

3 files changed

+4
-14
lines changed

3 files changed

+4
-14
lines changed

src/Microsoft.AspNet.Http.Core/ApplicationBuilder.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,15 @@ public IServiceProvider ApplicationServices
3636
}
3737
}
3838

39-
public IServerInformation Server
39+
public object Server
4040
{
4141
get
4242
{
43-
return GetProperty<IServerInformation>(Constants.BuilderProperties.ServerInformation);
43+
return GetProperty<object>(Constants.BuilderProperties.ServerInformation);
4444
}
4545
set
4646
{
47-
SetProperty<IServerInformation>(Constants.BuilderProperties.ServerInformation, value);
47+
SetProperty<object>(Constants.BuilderProperties.ServerInformation, value);
4848
}
4949
}
5050

src/Microsoft.AspNet.Http/IApplicationBuilder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public interface IApplicationBuilder
1010
{
1111
IServiceProvider ApplicationServices { get; set; }
1212

13-
IServerInformation Server { get; set; }
13+
object Server { get; set; }
1414

1515
IDictionary<string, object> Properties { get; set; }
1616

src/Microsoft.AspNet.Http/IServerInformation.cs

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)