From 7fb8053700a467e0f3551fd26c55359f9ba1646b Mon Sep 17 00:00:00 2001 From: Chris Ross Date: Fri, 10 Apr 2015 10:03:04 -0700 Subject: [PATCH] Move IServerInformation to Server.Interfaces. --- .../IServerFactory.cs | 1 - .../IServerInformation.cs | 10 ++++++++++ .../project.json | 1 - 3 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 src/Microsoft.AspNet.Hosting.Server.Interfaces/IServerInformation.cs diff --git a/src/Microsoft.AspNet.Hosting.Server.Interfaces/IServerFactory.cs b/src/Microsoft.AspNet.Hosting.Server.Interfaces/IServerFactory.cs index f389a1ec4c..fe46b8fc69 100644 --- a/src/Microsoft.AspNet.Hosting.Server.Interfaces/IServerFactory.cs +++ b/src/Microsoft.AspNet.Hosting.Server.Interfaces/IServerFactory.cs @@ -3,7 +3,6 @@ using System; using System.Threading.Tasks; -using Microsoft.AspNet.Builder; using Microsoft.AspNet.FeatureModel; using Microsoft.Framework.ConfigurationModel; diff --git a/src/Microsoft.AspNet.Hosting.Server.Interfaces/IServerInformation.cs b/src/Microsoft.AspNet.Hosting.Server.Interfaces/IServerInformation.cs new file mode 100644 index 0000000000..c30e0d00e3 --- /dev/null +++ b/src/Microsoft.AspNet.Hosting.Server.Interfaces/IServerInformation.cs @@ -0,0 +1,10 @@ +// 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.Hosting.Server +{ + public interface IServerInformation + { + string Name { get; } + } +} diff --git a/src/Microsoft.AspNet.Hosting.Server.Interfaces/project.json b/src/Microsoft.AspNet.Hosting.Server.Interfaces/project.json index 88b8b45a6a..fd590e5417 100644 --- a/src/Microsoft.AspNet.Hosting.Server.Interfaces/project.json +++ b/src/Microsoft.AspNet.Hosting.Server.Interfaces/project.json @@ -2,7 +2,6 @@ "version": "1.0.0-*", "dependencies": { "Microsoft.AspNet.FeatureModel": "1.0.0-*", - "Microsoft.AspNet.Http": "1.0.0-*", "Microsoft.Framework.ConfigurationModel.Interfaces": "1.0.0-*" },