From 72d1c495755942b6c11945148f72e02dd1b97b09 Mon Sep 17 00:00:00 2001 From: "N. Taylor Mullen" Date: Fri, 22 Jan 2016 16:48:47 -0800 Subject: [PATCH] Update missing AspNetCore referrences. --- .../ActionContext.cs | 6 +++--- src/Microsoft.AspNetCore.Mvc.Core/ControllerBase.cs | 2 +- .../ApplicationModelConventionExtensions.cs | 6 +++--- .../Directives/ChunkTreeResult.cs | 6 +++--- .../GeneratedTagHelperAttributeContext.cs | 2 +- src/Microsoft.AspNetCore.Mvc.Razor.Host/MvcRazorHost.cs | 2 +- .../Internal/GlobbingUrlBuilder.cs | 2 +- .../Internal/ModeAttributesOfT.cs | 8 ++++---- .../Compilation/CompilationResultTest.cs | 2 +- .../Compilation/CompilerCacheTest.cs | 2 +- .../RazorPageActivatorTest.cs | 4 ++-- 11 files changed, 21 insertions(+), 21 deletions(-) diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/ActionContext.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/ActionContext.cs index 07adb25b94..f7735c1637 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/ActionContext.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/ActionContext.cs @@ -46,7 +46,7 @@ namespace Microsoft.AspNetCore.Mvc /// Creates a new . /// /// The for the current request. - /// The for the current request. + /// The for the current request. /// The for the selected action. public ActionContext( HttpContext httpContext, @@ -60,7 +60,7 @@ namespace Microsoft.AspNetCore.Mvc /// Creates a new . /// /// The for the current request. - /// The for the current request. + /// The for the current request. /// The for the selected action. /// The . public ActionContext( @@ -126,7 +126,7 @@ namespace Microsoft.AspNetCore.Mvc } /// - /// Gets or sets the for the current request. + /// Gets or sets the for the current request. /// /// /// The property setter is provided for unit test purposes only. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ControllerBase.cs b/src/Microsoft.AspNetCore.Mvc.Core/ControllerBase.cs index d8163fcc67..89a171d257 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ControllerBase.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ControllerBase.cs @@ -75,7 +75,7 @@ namespace Microsoft.AspNetCore.Mvc } /// - /// Gets the for the executing action. + /// Gets the for the executing action. /// public RouteData RouteData { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/DependencyInjection/ApplicationModelConventionExtensions.cs b/src/Microsoft.AspNetCore.Mvc.Core/DependencyInjection/ApplicationModelConventionExtensions.cs index 89cadc5c4d..2696e235ff 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/DependencyInjection/ApplicationModelConventionExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/DependencyInjection/ApplicationModelConventionExtensions.cs @@ -8,7 +8,7 @@ using Microsoft.AspNetCore.Mvc.ApplicationModels; namespace Microsoft.Extensions.DependencyInjection { /// - /// Contains the extension methods for . + /// Contains the extension methods for . /// public static class ApplicationModelConventionExtensions { @@ -16,7 +16,7 @@ namespace Microsoft.Extensions.DependencyInjection /// Adds a to all the controllers in the application. /// /// The list of - /// in . + /// in . /// The which needs to be /// added. public static void Add( @@ -40,7 +40,7 @@ namespace Microsoft.Extensions.DependencyInjection /// Adds a to all the actions in the application. /// /// The list of - /// in . + /// in . /// The which needs to be /// added. public static void Add( diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.Host/Directives/ChunkTreeResult.cs b/src/Microsoft.AspNetCore.Mvc.Razor.Host/Directives/ChunkTreeResult.cs index 37adacb14b..62a2605afd 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor.Host/Directives/ChunkTreeResult.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor.Host/Directives/ChunkTreeResult.cs @@ -7,14 +7,14 @@ using Microsoft.AspNetCore.Razor.Chunks; namespace Microsoft.AspNetCore.Mvc.Razor.Directives { /// - /// Contains information. + /// Contains information. /// public class ChunkTreeResult { /// /// Initializes a new instance of . /// - /// The generated from the file at the + /// The generated from the file at the /// given . /// The path to the file that generated the given . public ChunkTreeResult(ChunkTree chunkTree, string filePath) @@ -34,7 +34,7 @@ namespace Microsoft.AspNetCore.Mvc.Razor.Directives } /// - /// The generated from the file at . + /// The generated from the file at . /// public ChunkTree ChunkTree { get; } diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.Host/GeneratedTagHelperAttributeContext.cs b/src/Microsoft.AspNetCore.Mvc.Razor.Host/GeneratedTagHelperAttributeContext.cs index 9977e28708..ccdf885676 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor.Host/GeneratedTagHelperAttributeContext.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor.Host/GeneratedTagHelperAttributeContext.cs @@ -4,7 +4,7 @@ namespace Microsoft.AspNetCore.Mvc.Razor { /// - /// Contains information for the attribute code + /// Contains information for the attribute code /// generation process. /// public class GeneratedTagHelperAttributeContext diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.Host/MvcRazorHost.cs b/src/Microsoft.AspNetCore.Mvc.Razor.Host/MvcRazorHost.cs index 2f35958796..e113dbcfaa 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor.Host/MvcRazorHost.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor.Host/MvcRazorHost.cs @@ -45,7 +45,7 @@ namespace Microsoft.AspNetCore.Mvc.Razor }, new SetBaseTypeChunk { - // Microsoft.Aspnet.Mvc.Razor.RazorPage + // Microsoft.AspNetCore.Mvc.Razor.RazorPage TypeName = $"{BaseType}<{ChunkHelper.TModelToken}>", // Set the Start to Undefined to prevent Razor design time code generation from rendering a line mapping // for this chunk. diff --git a/src/Microsoft.AspNetCore.Mvc.TagHelpers/Internal/GlobbingUrlBuilder.cs b/src/Microsoft.AspNetCore.Mvc.TagHelpers/Internal/GlobbingUrlBuilder.cs index 5bc5a54fd2..2e362e6ff9 100644 --- a/src/Microsoft.AspNetCore.Mvc.TagHelpers/Internal/GlobbingUrlBuilder.cs +++ b/src/Microsoft.AspNetCore.Mvc.TagHelpers/Internal/GlobbingUrlBuilder.cs @@ -13,7 +13,7 @@ using Microsoft.Extensions.Primitives; namespace Microsoft.AspNetCore.Mvc.TagHelpers.Internal { /// - /// Utility methods for 's that support + /// Utility methods for 's that support /// attributes containing file globbing patterns. /// public class GlobbingUrlBuilder diff --git a/src/Microsoft.AspNetCore.Mvc.TagHelpers/Internal/ModeAttributesOfT.cs b/src/Microsoft.AspNetCore.Mvc.TagHelpers/Internal/ModeAttributesOfT.cs index e33b965675..d5079b7d46 100644 --- a/src/Microsoft.AspNetCore.Mvc.TagHelpers/Internal/ModeAttributesOfT.cs +++ b/src/Microsoft.AspNetCore.Mvc.TagHelpers/Internal/ModeAttributesOfT.cs @@ -4,15 +4,15 @@ namespace Microsoft.AspNetCore.Mvc.TagHelpers.Internal { /// - /// A mapping of a mode to its required attributes. + /// A mapping of a mode to its required attributes. /// - /// The type representing the 's mode. + /// The type representing the 's mode. public class ModeAttributes { /// /// Initializes a new instance of . /// - /// The 's mode. + /// The 's mode. /// The names of attributes required for this mode. public ModeAttributes(TMode mode, string[] attributes) { @@ -21,7 +21,7 @@ namespace Microsoft.AspNetCore.Mvc.TagHelpers.Internal } /// - /// Gets the 's mode. + /// Gets the 's mode. /// public TMode Mode { get; } diff --git a/test/Microsoft.AspNetCore.Mvc.Razor.Test/Compilation/CompilationResultTest.cs b/test/Microsoft.AspNetCore.Mvc.Razor.Test/Compilation/CompilationResultTest.cs index c1668d6195..48bdbd201b 100644 --- a/test/Microsoft.AspNetCore.Mvc.Razor.Test/Compilation/CompilationResultTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Razor.Test/Compilation/CompilationResultTest.cs @@ -17,7 +17,7 @@ namespace Microsoft.AspNetCore.Mvc.Razor.Compilation "test", sourceFileContent: string.Empty, compiledContent: string.Empty, - messages: Enumerable.Empty()); + messages: Enumerable.Empty()); var failures = new[] { compilationFailure }; var result = new CompilationResult(failures); diff --git a/test/Microsoft.AspNetCore.Mvc.Razor.Test/Compilation/CompilerCacheTest.cs b/test/Microsoft.AspNetCore.Mvc.Razor.Test/Compilation/CompilerCacheTest.cs index 63d51de48d..2261cb2fc0 100644 --- a/test/Microsoft.AspNetCore.Mvc.Razor.Test/Compilation/CompilerCacheTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Razor.Test/Compilation/CompilerCacheTest.cs @@ -492,7 +492,7 @@ namespace Microsoft.AspNetCore.Mvc.Razor.Compilation var cache = new CompilerCache(fileProvider); var diagnosticMessages = new[] { - new AspNet.Diagnostics.DiagnosticMessage("message", "message", ViewPath, 1, 1, 1, 1) + new AspNetCore.Diagnostics.DiagnosticMessage("message", "message", ViewPath, 1, 1, 1, 1) }; var compilationResult = new CompilationResult(new[] { diff --git a/test/Microsoft.AspNetCore.Mvc.Razor.Test/RazorPageActivatorTest.cs b/test/Microsoft.AspNetCore.Mvc.Razor.Test/RazorPageActivatorTest.cs index 418d3ef5c5..f676cd75f1 100644 --- a/test/Microsoft.AspNetCore.Mvc.Razor.Test/RazorPageActivatorTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Razor.Test/RazorPageActivatorTest.cs @@ -113,7 +113,7 @@ namespace Microsoft.AspNetCore.Mvc.Razor .AddSingleton(myService) .AddSingleton(helper) .AddSingleton(htmlEncoder) - .AddSingleton(new DiagnosticListener("Microsoft.Aspnet.Mvc")) + .AddSingleton(new DiagnosticListener("Microsoft.AspNetCore.Mvc")) .BuildServiceProvider(); var httpContext = new DefaultHttpContext { @@ -153,7 +153,7 @@ namespace Microsoft.AspNetCore.Mvc.Razor .AddSingleton(myService) .AddSingleton(helper) .AddSingleton(htmlEncoder) - .AddSingleton(new DiagnosticListener("Microsoft.Aspnet.Mvc")) + .AddSingleton(new DiagnosticListener("Microsoft.AspNetCore.Mvc")) .BuildServiceProvider(); var httpContext = new DefaultHttpContext {