From 61e4f55075adf637356f4008765dff3f4bb3f367 Mon Sep 17 00:00:00 2001 From: Praburaj Date: Thu, 12 Mar 2015 12:41:11 -0700 Subject: [PATCH] Moving the IServiceCollection extension into Microsoft.Framework.DependencyInjection namespace Fixes: https://github.com/aspnet/Routing/issues/160 --- samples/RoutingSample.Web/Startup.cs | 1 + src/Microsoft.AspNet.Routing/RoutingServices.cs | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/samples/RoutingSample.Web/Startup.cs b/samples/RoutingSample.Web/Startup.cs index 7bb2f994c4..80594fb98f 100644 --- a/samples/RoutingSample.Web/Startup.cs +++ b/samples/RoutingSample.Web/Startup.cs @@ -6,6 +6,7 @@ using Microsoft.AspNet.Builder; using Microsoft.AspNet.Http; using Microsoft.AspNet.Routing; using Microsoft.AspNet.Routing.Constraints; +using Microsoft.Framework.DependencyInjection; namespace RoutingSample.Web { diff --git a/src/Microsoft.AspNet.Routing/RoutingServices.cs b/src/Microsoft.AspNet.Routing/RoutingServices.cs index 52447f855d..12d5fae9b8 100644 --- a/src/Microsoft.AspNet.Routing/RoutingServices.cs +++ b/src/Microsoft.AspNet.Routing/RoutingServices.cs @@ -1,9 +1,9 @@ // 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. -using Microsoft.Framework.DependencyInjection; +using Microsoft.AspNet.Routing; -namespace Microsoft.AspNet.Routing +namespace Microsoft.Framework.DependencyInjection { public static class RoutingServices { @@ -13,4 +13,4 @@ namespace Microsoft.AspNet.Routing return services; } } -} +} \ No newline at end of file