Skip to content

Commit 12ceb6a

Browse files
committed
React to DI namespace change part 3.
1 parent a1a6be0 commit 12ceb6a

File tree

8 files changed

+9
-1
lines changed

8 files changed

+9
-1
lines changed

src/Microsoft.AspNet.Mvc.ApiExplorer/DependencyInjection/MvcApiExplorerMvcBuilderExtensions.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
33

44
using Microsoft.AspNet.Mvc.ApiExplorer;
5+
using Microsoft.Framework.DependencyInjection.Extensions;
56
using Microsoft.Framework.Internal;
67

78
namespace Microsoft.Framework.DependencyInjection

src/Microsoft.AspNet.Mvc.Cors/DependencyInjection/MvcCorsMvcBuilderExtensions.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,12 @@
55
using Microsoft.AspNet.Cors.Core;
66
using Microsoft.AspNet.Mvc;
77
using Microsoft.AspNet.Mvc.ApplicationModels;
8+
using Microsoft.Framework.DependencyInjection.Extensions;
89
using Microsoft.Framework.Internal;
910

1011
namespace Microsoft.Framework.DependencyInjection
1112
{
12-
public static class MvcJsonMvcBuilderExtensions
13+
public static class MvcCorsMvcBuilderExtensions
1314
{
1415
public static IMvcBuilder AddCors([NotNull] this IMvcBuilder builder)
1516
{

src/Microsoft.AspNet.Mvc.DataAnnotations/DependencyInjection/MvcDataAnnotationsMvcBuilderExtensions.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
33

44
using Microsoft.AspNet.Mvc;
5+
using Microsoft.Framework.DependencyInjection.Extensions;
56
using Microsoft.Framework.Internal;
67
using Microsoft.Framework.OptionsModel;
78

src/Microsoft.AspNet.Mvc.Formatters.Json/DependencyInjection/MvcJsonMvcBuilderExtensions.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
using System;
55
using Microsoft.AspNet.Mvc;
6+
using Microsoft.Framework.DependencyInjection.Extensions;
67
using Microsoft.Framework.Internal;
78
using Microsoft.Framework.OptionsModel;
89
using Newtonsoft.Json;

src/Microsoft.AspNet.Mvc.Formatters.Xml/DependencyInjection/MvcXmlMvcBuilderExtensions.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
33

44
using Microsoft.AspNet.Mvc;
5+
using Microsoft.Framework.DependencyInjection.Extensions;
56
using Microsoft.Framework.Internal;
67
using Microsoft.Framework.OptionsModel;
78

src/Microsoft.AspNet.Mvc.WebApiCompatShim/WebApiCompatShimServiceCollectionExtensions.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
using System.Net.Http.Formatting;
55
using Microsoft.AspNet.Mvc;
66
using Microsoft.AspNet.Mvc.WebApiCompatShim;
7+
using Microsoft.Framework.DependencyInjection.Extensions;
78
using Microsoft.Framework.OptionsModel;
89

910
namespace Microsoft.Framework.DependencyInjection

test/Microsoft.AspNet.Mvc.FunctionalTests/HtmlGenerationTest.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
using Microsoft.AspNet.Mvc.TagHelpers;
1515
using Microsoft.AspNet.Testing;
1616
using Microsoft.Framework.DependencyInjection;
17+
using Microsoft.Framework.DependencyInjection.Extensions;
1718
using Microsoft.Framework.WebEncoders;
1819
using Xunit;
1920

test/WebSites/RazorPageExecutionInstrumentationWebSite/Startup.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
using Microsoft.AspNet.Mvc.Razor.Compilation;
99
using Microsoft.AspNet.PageExecutionInstrumentation;
1010
using Microsoft.Framework.DependencyInjection;
11+
using Microsoft.Framework.DependencyInjection.Extensions;
1112

1213
namespace RazorPageExecutionInstrumentationWebSite
1314
{

0 commit comments

Comments
 (0)