Skip to content
This repository was archived by the owner on Dec 14, 2018. It is now read-only.

Commit 538cd9c

Browse files
committed
Move less-commonly used types out of .Rendering
1 parent 046cb97 commit 538cd9c

File tree

224 files changed

+341
-186
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

224 files changed

+341
-186
lines changed

src/Microsoft.AspNet.Mvc.Core/CreatedAtActionResult.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
using System;
55
using System.Collections.Generic;
66
using Microsoft.AspNet.Http;
7-
using Microsoft.AspNet.Mvc.Actions;
87
using Microsoft.AspNet.Mvc.Core;
8+
using Microsoft.AspNet.Mvc.Routing;
99
using Microsoft.Framework.DependencyInjection;
1010
using Microsoft.Framework.Internal;
1111
using Microsoft.Net.Http.Headers;

src/Microsoft.AspNet.Mvc.Core/CreatedAtRouteResult.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
using Microsoft.AspNet.Http;
77
using Microsoft.AspNet.Mvc.Actions;
88
using Microsoft.AspNet.Mvc.Core;
9+
using Microsoft.AspNet.Mvc.Routing;
910
using Microsoft.Framework.DependencyInjection;
1011
using Microsoft.Framework.Internal;
1112
using Microsoft.Net.Http.Headers;

src/Microsoft.AspNet.Mvc.Core/IUrlHelper.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// Copyright (c) .NET Foundation. All rights reserved.
22
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
33

4+
using Microsoft.AspNet.Mvc.Routing;
45
using Microsoft.Framework.Internal;
56

67
namespace Microsoft.AspNet.Mvc

src/Microsoft.AspNet.Mvc.Core/MvcCoreMvcOptionsSetup.cs renamed to src/Microsoft.AspNet.Mvc.Core/Internal/MvcCoreMvcOptionsSetup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
using Microsoft.AspNet.Mvc.ModelBinding.Validation;
1010
using Microsoft.Framework.OptionsModel;
1111

12-
namespace Microsoft.AspNet.Mvc
12+
namespace Microsoft.AspNet.Mvc.Internal
1313
{
1414
/// <summary>
1515
/// Sets up default options for <see cref="MvcOptions"/>.

src/Microsoft.AspNet.Mvc.Core/MvcCoreRouteOptionsSetup.cs renamed to src/Microsoft.AspNet.Mvc.Core/Internal/MvcCoreRouteOptionsSetup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
using Microsoft.AspNet.Routing;
66
using Microsoft.Framework.OptionsModel;
77

8-
namespace Microsoft.AspNet.Mvc
8+
namespace Microsoft.AspNet.Mvc.Internal
99
{
1010
/// <summary>
1111
/// Sets up MVC default options for <see cref="RouteOptions"/>.

src/Microsoft.AspNet.Mvc.Core/RedirectResult.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33

44
using System;
55
using Microsoft.AspNet.Mvc.Core;
6+
using Microsoft.AspNet.Mvc.Routing;
7+
using Microsoft.AspNet.Mvc.ViewFeatures;
68
using Microsoft.Framework.DependencyInjection;
79
using Microsoft.Framework.Internal;
810

src/Microsoft.AspNet.Mvc.Core/RedirectToActionResult.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
using System.Collections.Generic;
66
using Microsoft.AspNet.Mvc.Actions;
77
using Microsoft.AspNet.Mvc.Core;
8+
using Microsoft.AspNet.Mvc.Routing;
9+
using Microsoft.AspNet.Mvc.ViewFeatures;
810
using Microsoft.Framework.DependencyInjection;
911
using Microsoft.Framework.Internal;
1012

src/Microsoft.AspNet.Mvc.Core/RedirectToRouteResult.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33

44
using System;
55
using System.Collections.Generic;
6-
using Microsoft.AspNet.Mvc.Actions;
76
using Microsoft.AspNet.Mvc.Core;
7+
using Microsoft.AspNet.Mvc.Routing;
8+
using Microsoft.AspNet.Mvc.ViewFeatures;
89
using Microsoft.Framework.DependencyInjection;
910
using Microsoft.Framework.Internal;
1011

src/Microsoft.AspNet.Mvc.Core/UrlActionContext.cs renamed to src/Microsoft.AspNet.Mvc.Core/Routing/UrlActionContext.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright (c) .NET Foundation. All rights reserved.
22
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
33

4-
namespace Microsoft.AspNet.Mvc
4+
namespace Microsoft.AspNet.Mvc.Routing
55
{
66
/// <summary>
77
/// Context object to be used for the URLs that <see cref="IUrlHelper.Action(UrlActionContext)"/> generates.

src/Microsoft.AspNet.Mvc.Core/UrlHelper.cs renamed to src/Microsoft.AspNet.Mvc.Core/Routing/UrlHelper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
using Microsoft.AspNet.Routing;
1010
using Microsoft.Framework.Internal;
1111

12-
namespace Microsoft.AspNet.Mvc
12+
namespace Microsoft.AspNet.Mvc.Routing
1313
{
1414
/// <summary>
1515
/// An implementation of <see cref="IUrlHelper"/> that contains methods to

src/Microsoft.AspNet.Mvc.Core/UrlRouteContext.cs renamed to src/Microsoft.AspNet.Mvc.Core/Routing/UrlRouteContext.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright (c) .NET Foundation. All rights reserved.
22
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
33

4-
namespace Microsoft.AspNet.Mvc
4+
namespace Microsoft.AspNet.Mvc.Routing
55
{
66
/// <summary>
77
/// Context object to be used for the URLs that <see cref="IUrlHelper.RouteUrl(UrlRouteContext)"/> generates.

src/Microsoft.AspNet.Mvc.Core/UrlHelperExtensions.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// Copyright (c) .NET Foundation. All rights reserved.
22
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
33

4+
using Microsoft.AspNet.Mvc.Routing;
45
using Microsoft.Framework.Internal;
56

67
namespace Microsoft.AspNet.Mvc

src/Microsoft.AspNet.Mvc.Core/IKeepTempDataResult.cs renamed to src/Microsoft.AspNet.Mvc.Core/ViewFeatures/IKeepTempDataResult.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright (c) .NET Foundation. All rights reserved.
22
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
33

4-
namespace Microsoft.AspNet.Mvc
4+
namespace Microsoft.AspNet.Mvc.ViewFeatures
55
{
66
/// <summary>
77
/// A marker interface for <see cref="IActionResult"/> types which need to have temp data saved.

src/Microsoft.AspNet.Mvc.DataAnnotations/DependencyInjection/MvcDataAnnotationsMvcCoreBuilderExtensions.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.AspNet.Mvc.DataAnnotations.Internal;
56
using Microsoft.Framework.DependencyInjection.Extensions;
67
using Microsoft.Framework.Internal;
78
using Microsoft.Framework.OptionsModel;

src/Microsoft.AspNet.Mvc.DataAnnotations/MvcDataAnnotationsMvcOptionsSetup.cs renamed to src/Microsoft.AspNet.Mvc.DataAnnotations/Internal/MvcDataAnnotationsMvcOptionsSetup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
using Microsoft.AspNet.Mvc.ModelBinding.Validation;
66
using Microsoft.Framework.OptionsModel;
77

8-
namespace Microsoft.AspNet.Mvc
8+
namespace Microsoft.AspNet.Mvc.DataAnnotations.Internal
99
{
1010
/// <summary>
1111
/// Sets up default options for <see cref="MvcOptions"/>.

src/Microsoft.AspNet.Mvc.Formatters.Json/DependencyInjection/MvcJsonMvcCoreBuilderExtensions.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.AspNet.Mvc.Formatters.Json.Internal;
67
using Microsoft.Framework.DependencyInjection.Extensions;
78
using Microsoft.Framework.Internal;
89
using Microsoft.Framework.OptionsModel;

src/Microsoft.AspNet.Mvc.Formatters.Json/MvcJsonMvcOptionsSetup.cs renamed to src/Microsoft.AspNet.Mvc.Formatters.Json/Internal/MvcJsonMvcOptionsSetup.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
// Copyright (c) .NET Foundation. All rights reserved.
22
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
33

4-
using Microsoft.AspNet.Mvc.Formatters;
54
using Microsoft.Framework.OptionsModel;
65
using Microsoft.Net.Http.Headers;
76
using Newtonsoft.Json;
87
using Newtonsoft.Json.Linq;
98

10-
namespace Microsoft.AspNet.Mvc
9+
namespace Microsoft.AspNet.Mvc.Formatters.Json.Internal
1110
{
1211
public class MvcJsonMvcOptionsSetup : ConfigureOptions<MvcOptions>
1312
{

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.AspNet.Mvc.Formatters.Xml.Internal;
56
using Microsoft.Framework.DependencyInjection.Extensions;
67
using Microsoft.Framework.Internal;
78
using Microsoft.Framework.OptionsModel;

src/Microsoft.AspNet.Mvc.Formatters.Xml/DependencyInjection/MvcXmlMvcCoreBuilderExtensions.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.AspNet.Mvc.Formatters.Xml.Internal;
56
using Microsoft.Framework.DependencyInjection.Extensions;
67
using Microsoft.Framework.Internal;
78
using Microsoft.Framework.OptionsModel;

src/Microsoft.AspNet.Mvc.Formatters.Xml/MvcXmlDataContractSerializerMvcOptionsSetup.cs renamed to src/Microsoft.AspNet.Mvc.Formatters.Xml/Internal/MvcXmlDataContractSerializerMvcOptionsSetup.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
// Copyright (c) .NET Foundation. All rights reserved.
22
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
33

4-
using Microsoft.AspNet.Mvc.Formatters;
54
using Microsoft.AspNet.Mvc.ModelBinding.Metadata;
65
using Microsoft.Framework.OptionsModel;
76

8-
namespace Microsoft.AspNet.Mvc
7+
namespace Microsoft.AspNet.Mvc.Formatters.Xml.Internal
98
{
109
/// <summary>
1110
/// A <see cref="ConfigureOptions{TOptions}"/> implementation which will add the

src/Microsoft.AspNet.Mvc.Formatters.Xml/MvcXmlSerializerMvcOptionsSetup.cs renamed to src/Microsoft.AspNet.Mvc.Formatters.Xml/Internal/MvcXmlSerializerMvcOptionsSetup.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
// Copyright (c) .NET Foundation. All rights reserved.
22
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
33

4-
using Microsoft.AspNet.Mvc.Formatters;
54
using Microsoft.Framework.OptionsModel;
65

7-
namespace Microsoft.AspNet.Mvc
6+
namespace Microsoft.AspNet.Mvc.Formatters.Xml.Internal
87
{
98
/// <summary>
109
/// A <see cref="ConfigureOptions{TOptions}"/> implementation which will add the

src/Microsoft.AspNet.Mvc.Localization/ViewLocalizer.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
using System.Collections.Generic;
55
using System.Globalization;
66
using Microsoft.AspNet.Mvc.Rendering;
7+
using Microsoft.AspNet.Mvc.ViewFeatures.Internal;
78
using Microsoft.Framework.Internal;
89
using Microsoft.Framework.Localization;
910
using Microsoft.Dnx.Runtime;

src/Microsoft.AspNet.Mvc.Razor/DefaultTagHelperActivator.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
using System.Collections.Generic;
77
using System.Reflection;
88
using Microsoft.AspNet.Mvc.Rendering;
9+
using Microsoft.AspNet.Mvc.ViewFeatures;
910
using Microsoft.AspNet.Razor.Runtime.TagHelpers;
1011
using Microsoft.Framework.DependencyInjection;
1112
using Microsoft.Framework.Internal;

src/Microsoft.AspNet.Mvc.Razor/DependencyInjection/MvcRazorMvcBuilderExtensions.cs

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
using Microsoft.AspNet.Mvc;
88
using Microsoft.AspNet.Mvc.Razor;
99
using Microsoft.AspNet.Mvc.Razor.Compilation;
10+
using Microsoft.AspNet.Mvc.Rendering;
1011
using Microsoft.AspNet.Razor.Runtime.TagHelpers;
1112
using Microsoft.Framework.DependencyInjection.Extensions;
1213
using Microsoft.Framework.Internal;
@@ -55,17 +56,17 @@ public static IMvcBuilder InitializeTagHelper<TTagHelper>(
5556
return builder;
5657
}
5758

58-
public static IMvcBuilder AddPrecompiledRazorViews(
59-
[NotNull] this IMvcBuilder builder,
60-
[NotNull] params Assembly[] assemblies)
61-
{
62-
builder.Services.Replace(
63-
ServiceDescriptor.Singleton<ICompilerCacheProvider>(serviceProvider =>
64-
ActivatorUtilities.CreateInstance<PrecompiledViewsCompilerCacheProvider>(
65-
serviceProvider,
66-
assemblies.AsEnumerable())));
67-
68-
return builder;
69-
}
59+
public static IMvcBuilder AddPrecompiledRazorViews(
60+
[NotNull] this IMvcBuilder builder,
61+
[NotNull] params Assembly[] assemblies)
62+
{
63+
builder.Services.Replace(
64+
ServiceDescriptor.Singleton<ICompilerCacheProvider>(serviceProvider =>
65+
ActivatorUtilities.CreateInstance<PrecompiledViewsCompilerCacheProvider>(
66+
serviceProvider,
67+
assemblies.AsEnumerable())));
68+
69+
return builder;
70+
}
7071
}
7172
}

src/Microsoft.AspNet.Mvc.Razor/DependencyInjection/MvcRazorMvcCoreBuilderExtensions.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
using Microsoft.AspNet.Mvc.Razor;
99
using Microsoft.AspNet.Mvc.Razor.Compilation;
1010
using Microsoft.AspNet.Mvc.Razor.Directives;
11+
using Microsoft.AspNet.Mvc.Razor.Internal;
12+
using Microsoft.AspNet.Mvc.Rendering;
1113
using Microsoft.AspNet.Razor.Runtime.TagHelpers;
1214
using Microsoft.Framework.Caching.Memory;
1315
using Microsoft.Framework.DependencyInjection.Extensions;

src/Microsoft.AspNet.Mvc.Razor/IRazorPage.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
using System.Collections.Generic;
66
using System.IO;
77
using System.Threading.Tasks;
8+
using Microsoft.AspNet.Mvc.Rendering;
89
using Microsoft.AspNet.PageExecutionInstrumentation;
910

1011
namespace Microsoft.AspNet.Mvc.Razor

src/Microsoft.AspNet.Mvc.Razor/IRazorPageActivator.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
// Copyright (c) .NET Foundation. All rights reserved.
22
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
33

4+
using Microsoft.AspNet.Mvc.Rendering;
5+
46
namespace Microsoft.AspNet.Mvc.Razor
57
{
68
/// <summary>

src/Microsoft.AspNet.Mvc.Razor/IRazorViewEngine.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
// Copyright (c) .NET Foundation. All rights reserved.
22
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
33

4-
using Microsoft.AspNet.Mvc.Actions;
5-
using Microsoft.AspNet.Mvc.Rendering;
4+
using Microsoft.AspNet.Mvc.ViewEngines;
65

76
namespace Microsoft.AspNet.Mvc.Razor
87
{

src/Microsoft.AspNet.Mvc.Razor/IRazorViewFactory.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright (c) .NET Foundation. All rights reserved.
22
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
33

4-
using Microsoft.AspNet.Mvc.Rendering;
4+
using Microsoft.AspNet.Mvc.ViewEngines;
55
using Microsoft.Framework.Internal;
66

77
namespace Microsoft.AspNet.Mvc.Razor

src/Microsoft.AspNet.Mvc.Razor/ITagHelperActivator.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// Copyright (c) .NET Foundation. All rights reserved.
22
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
33

4+
using Microsoft.AspNet.Mvc.Rendering;
45
using Microsoft.AspNet.Razor.Runtime.TagHelpers;
56

67
namespace Microsoft.AspNet.Mvc.Razor

src/Microsoft.AspNet.Mvc.Razor/MvcRazorMvcViewOptionsSetup.cs renamed to src/Microsoft.AspNet.Mvc.Razor/Internal/MvcRazorMvcViewOptionsSetup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
using Microsoft.Framework.Internal;
77
using Microsoft.Framework.OptionsModel;
88

9-
namespace Microsoft.AspNet.Mvc.Razor
9+
namespace Microsoft.AspNet.Mvc.Razor.Internal
1010
{
1111
/// <summary>
1212
/// Configures <see cref="MvcViewOptions"/> to use <see cref="RazorViewEngine"/>.

src/Microsoft.AspNet.Mvc.Razor/RazorPage.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
using Microsoft.AspNet.Mvc.Actions;
1515
using Microsoft.AspNet.Mvc.Razor.Internal;
1616
using Microsoft.AspNet.Mvc.Rendering;
17+
using Microsoft.AspNet.Mvc.Routing;
1718
using Microsoft.AspNet.Mvc.ViewFeatures;
1819
using Microsoft.AspNet.PageExecutionInstrumentation;
1920
using Microsoft.AspNet.Razor.Runtime.TagHelpers;

src/Microsoft.AspNet.Mvc.Razor/RazorPageActivator.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
using Microsoft.AspNet.Mvc.ModelBinding;
88
using Microsoft.AspNet.Mvc.Razor.Internal;
99
using Microsoft.AspNet.Mvc.Rendering;
10+
using Microsoft.AspNet.Mvc.ViewFeatures;
11+
using Microsoft.AspNet.Mvc.ViewFeatures.Internal;
1012
using Microsoft.Framework.DependencyInjection;
1113
using Microsoft.Framework.Internal;
1214

src/Microsoft.AspNet.Mvc.Razor/RazorPageOfT.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
using Microsoft.AspNet.Mvc.ModelBinding;
77
using Microsoft.AspNet.Mvc.Razor.Internal;
88
using Microsoft.AspNet.Mvc.Rendering;
9-
using Microsoft.AspNet.Mvc.Rendering.Expressions;
9+
using Microsoft.AspNet.Mvc.ViewFeatures;
1010
using Microsoft.Framework.DependencyInjection;
1111
using Microsoft.Framework.Internal;
1212

src/Microsoft.AspNet.Mvc.Razor/RazorView.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
using System.Threading.Tasks;
99
using Microsoft.AspNet.Http.Features;
1010
using Microsoft.AspNet.Mvc.Rendering;
11+
using Microsoft.AspNet.Mvc.ViewEngines;
1112
using Microsoft.AspNet.PageExecutionInstrumentation;
1213
using Microsoft.Framework.Internal;
1314
using Microsoft.Framework.WebEncoders;

src/Microsoft.AspNet.Mvc.Razor/RazorViewEngine.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
using System.Linq;
99
using Microsoft.AspNet.Mvc.Actions;
1010
using Microsoft.AspNet.Mvc.Rendering;
11+
using Microsoft.AspNet.Mvc.ViewEngines;
1112
using Microsoft.Framework.Internal;
1213
using Microsoft.Framework.OptionsModel;
1314

src/Microsoft.AspNet.Mvc.Razor/RazorViewFactory.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright (c) .NET Foundation. All rights reserved.
22
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
33

4-
using Microsoft.AspNet.Mvc.Rendering;
4+
using Microsoft.AspNet.Mvc.ViewEngines;
55
using Microsoft.Framework.Internal;
66
using Microsoft.Framework.WebEncoders;
77

src/Microsoft.AspNet.Mvc.Razor/TagHelperInitializerOfT.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 System;
5+
using Microsoft.AspNet.Mvc.Rendering;
56
using Microsoft.AspNet.Razor.Runtime.TagHelpers;
67
using Microsoft.Framework.Internal;
78

src/Microsoft.AspNet.Mvc.Razor/TagHelpers/UrlResolutionTagHelper.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
using System.ComponentModel;
77
using System.Reflection;
88
using Microsoft.AspNet.Mvc.Rendering;
9+
using Microsoft.AspNet.Mvc.Routing;
910
using Microsoft.AspNet.Razor.Runtime.TagHelpers;
1011
using Microsoft.Framework.WebEncoders;
1112

src/Microsoft.AspNet.Mvc.TagHelpers/AnchorTagHelper.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
using System.Collections.Generic;
66
using System.Linq;
77
using Microsoft.AspNet.Mvc.Rendering;
8+
using Microsoft.AspNet.Mvc.ViewFeatures;
89
using Microsoft.AspNet.Razor.Runtime.TagHelpers;
910

1011
namespace Microsoft.AspNet.Mvc.TagHelpers

src/Microsoft.AspNet.Mvc.TagHelpers/CacheTagHelper.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
using System.Text;
99
using System.Threading.Tasks;
1010
using Microsoft.AspNet.Http;
11+
using Microsoft.AspNet.Mvc.Rendering;
12+
using Microsoft.AspNet.Mvc.ViewFeatures;
1113
using Microsoft.AspNet.Razor.Runtime.TagHelpers;
1214
using Microsoft.Framework.Caching.Memory;
1315

0 commit comments

Comments
 (0)