Move IServerInformation to Hosting.

This commit is contained in:
Chris Ross 2015-04-10 09:51:01 -07:00
parent fab55afca5
commit 58f759ac25
3 changed files with 4 additions and 14 deletions

View File

@ -36,15 +36,15 @@ namespace Microsoft.AspNet.Builder
} }
} }
public IServerInformation Server public object Server
{ {
get get
{ {
return GetProperty<IServerInformation>(Constants.BuilderProperties.ServerInformation); return GetProperty<object>(Constants.BuilderProperties.ServerInformation);
} }
set set
{ {
SetProperty<IServerInformation>(Constants.BuilderProperties.ServerInformation, value); SetProperty<object>(Constants.BuilderProperties.ServerInformation, value);
} }
} }

View File

@ -10,7 +10,7 @@ namespace Microsoft.AspNet.Builder
{ {
IServiceProvider ApplicationServices { get; set; } IServiceProvider ApplicationServices { get; set; }
IServerInformation Server { get; set; } object Server { get; set; }
IDictionary<string, object> Properties { get; set; } IDictionary<string, object> Properties { get; set; }

View File

@ -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; }
}
}