Update missing AspNetCore referrences.
This commit is contained in:
parent
25eb50120e
commit
72d1c49575
|
|
@ -46,7 +46,7 @@ namespace Microsoft.AspNetCore.Mvc
|
||||||
/// Creates a new <see cref="ActionContext"/>.
|
/// Creates a new <see cref="ActionContext"/>.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="httpContext">The <see cref="Http.HttpContext"/> for the current request.</param>
|
/// <param name="httpContext">The <see cref="Http.HttpContext"/> for the current request.</param>
|
||||||
/// <param name="routeData">The <see cref="AspNet.Routing.RouteData"/> for the current request.</param>
|
/// <param name="routeData">The <see cref="AspNetCore.Routing.RouteData"/> for the current request.</param>
|
||||||
/// <param name="actionDescriptor">The <see cref="Abstractions.ActionDescriptor"/> for the selected action.</param>
|
/// <param name="actionDescriptor">The <see cref="Abstractions.ActionDescriptor"/> for the selected action.</param>
|
||||||
public ActionContext(
|
public ActionContext(
|
||||||
HttpContext httpContext,
|
HttpContext httpContext,
|
||||||
|
|
@ -60,7 +60,7 @@ namespace Microsoft.AspNetCore.Mvc
|
||||||
/// Creates a new <see cref="ActionContext"/>.
|
/// Creates a new <see cref="ActionContext"/>.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="httpContext">The <see cref="Http.HttpContext"/> for the current request.</param>
|
/// <param name="httpContext">The <see cref="Http.HttpContext"/> for the current request.</param>
|
||||||
/// <param name="routeData">The <see cref="AspNet.Routing.RouteData"/> for the current request.</param>
|
/// <param name="routeData">The <see cref="AspNetCore.Routing.RouteData"/> for the current request.</param>
|
||||||
/// <param name="actionDescriptor">The <see cref="Abstractions.ActionDescriptor"/> for the selected action.</param>
|
/// <param name="actionDescriptor">The <see cref="Abstractions.ActionDescriptor"/> for the selected action.</param>
|
||||||
/// <param name="modelState">The <see cref="ModelStateDictionary"/>.</param>
|
/// <param name="modelState">The <see cref="ModelStateDictionary"/>.</param>
|
||||||
public ActionContext(
|
public ActionContext(
|
||||||
|
|
@ -126,7 +126,7 @@ namespace Microsoft.AspNetCore.Mvc
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the <see cref="AspNet.Routing.RouteData"/> for the current request.
|
/// Gets or sets the <see cref="AspNetCore.Routing.RouteData"/> for the current request.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// The property setter is provided for unit test purposes only.
|
/// The property setter is provided for unit test purposes only.
|
||||||
|
|
|
||||||
|
|
@ -75,7 +75,7 @@ namespace Microsoft.AspNetCore.Mvc
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets the <see cref="AspNet.Routing.RouteData"/> for the executing action.
|
/// Gets the <see cref="AspNetCore.Routing.RouteData"/> for the executing action.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public RouteData RouteData
|
public RouteData RouteData
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ using Microsoft.AspNetCore.Mvc.ApplicationModels;
|
||||||
namespace Microsoft.Extensions.DependencyInjection
|
namespace Microsoft.Extensions.DependencyInjection
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Contains the extension methods for <see cref="AspNet.Mvc.MvcOptions.Conventions"/>.
|
/// Contains the extension methods for <see cref="AspNetCore.Mvc.MvcOptions.Conventions"/>.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static class ApplicationModelConventionExtensions
|
public static class ApplicationModelConventionExtensions
|
||||||
{
|
{
|
||||||
|
|
@ -16,7 +16,7 @@ namespace Microsoft.Extensions.DependencyInjection
|
||||||
/// Adds a <see cref="IControllerModelConvention"/> to all the controllers in the application.
|
/// Adds a <see cref="IControllerModelConvention"/> to all the controllers in the application.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="conventions">The list of <see cref="IApplicationModelConvention"/>
|
/// <param name="conventions">The list of <see cref="IApplicationModelConvention"/>
|
||||||
/// in <see cref="AspNet.Mvc.MvcOptions"/>.</param>
|
/// in <see cref="AspNetCore.Mvc.MvcOptions"/>.</param>
|
||||||
/// <param name="controllerModelConvention">The <see cref="IControllerModelConvention"/> which needs to be
|
/// <param name="controllerModelConvention">The <see cref="IControllerModelConvention"/> which needs to be
|
||||||
/// added.</param>
|
/// added.</param>
|
||||||
public static void Add(
|
public static void Add(
|
||||||
|
|
@ -40,7 +40,7 @@ namespace Microsoft.Extensions.DependencyInjection
|
||||||
/// Adds a <see cref="IActionModelConvention"/> to all the actions in the application.
|
/// Adds a <see cref="IActionModelConvention"/> to all the actions in the application.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="conventions">The list of <see cref="IApplicationModelConvention"/>
|
/// <param name="conventions">The list of <see cref="IApplicationModelConvention"/>
|
||||||
/// in <see cref="AspNet.Mvc.MvcOptions"/>.</param>
|
/// in <see cref="AspNetCore.Mvc.MvcOptions"/>.</param>
|
||||||
/// <param name="actionModelConvention">The <see cref="IActionModelConvention"/> which needs to be
|
/// <param name="actionModelConvention">The <see cref="IActionModelConvention"/> which needs to be
|
||||||
/// added.</param>
|
/// added.</param>
|
||||||
public static void Add(
|
public static void Add(
|
||||||
|
|
|
||||||
|
|
@ -7,14 +7,14 @@ using Microsoft.AspNetCore.Razor.Chunks;
|
||||||
namespace Microsoft.AspNetCore.Mvc.Razor.Directives
|
namespace Microsoft.AspNetCore.Mvc.Razor.Directives
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Contains <see cref="AspNet.Razor.Chunks.ChunkTree"/> information.
|
/// Contains <see cref="AspNetCore.Razor.Chunks.ChunkTree"/> information.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class ChunkTreeResult
|
public class ChunkTreeResult
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Initializes a new instance of <see cref="ChunkTreeResult"/>.
|
/// Initializes a new instance of <see cref="ChunkTreeResult"/>.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="chunkTree">The <see cref="AspNet.Razor.Chunks.ChunkTree"/> generated from the file at the
|
/// <param name="chunkTree">The <see cref="AspNetCore.Razor.Chunks.ChunkTree"/> generated from the file at the
|
||||||
/// given <paramref name="filePath"/>.</param>
|
/// given <paramref name="filePath"/>.</param>
|
||||||
/// <param name="filePath">The path to the file that generated the given <paramref name="chunkTree"/>.</param>
|
/// <param name="filePath">The path to the file that generated the given <paramref name="chunkTree"/>.</param>
|
||||||
public ChunkTreeResult(ChunkTree chunkTree, string filePath)
|
public ChunkTreeResult(ChunkTree chunkTree, string filePath)
|
||||||
|
|
@ -34,7 +34,7 @@ namespace Microsoft.AspNetCore.Mvc.Razor.Directives
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The <see cref="AspNet.Razor.Chunks.ChunkTree"/> generated from the file at <see cref="FilePath"/>.
|
/// The <see cref="AspNetCore.Razor.Chunks.ChunkTree"/> generated from the file at <see cref="FilePath"/>.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public ChunkTree ChunkTree { get; }
|
public ChunkTree ChunkTree { get; }
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
namespace Microsoft.AspNetCore.Mvc.Razor
|
namespace Microsoft.AspNetCore.Mvc.Razor
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Contains information for the <see cref="AspNet.Razor.TagHelpers.ITagHelper"/> attribute code
|
/// Contains information for the <see cref="AspNetCore.Razor.TagHelpers.ITagHelper"/> attribute code
|
||||||
/// generation process.
|
/// generation process.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class GeneratedTagHelperAttributeContext
|
public class GeneratedTagHelperAttributeContext
|
||||||
|
|
|
||||||
|
|
@ -45,7 +45,7 @@ namespace Microsoft.AspNetCore.Mvc.Razor
|
||||||
},
|
},
|
||||||
new SetBaseTypeChunk
|
new SetBaseTypeChunk
|
||||||
{
|
{
|
||||||
// Microsoft.Aspnet.Mvc.Razor.RazorPage<TModel>
|
// Microsoft.AspNetCore.Mvc.Razor.RazorPage<TModel>
|
||||||
TypeName = $"{BaseType}<{ChunkHelper.TModelToken}>",
|
TypeName = $"{BaseType}<{ChunkHelper.TModelToken}>",
|
||||||
// Set the Start to Undefined to prevent Razor design time code generation from rendering a line mapping
|
// Set the Start to Undefined to prevent Razor design time code generation from rendering a line mapping
|
||||||
// for this chunk.
|
// for this chunk.
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ using Microsoft.Extensions.Primitives;
|
||||||
namespace Microsoft.AspNetCore.Mvc.TagHelpers.Internal
|
namespace Microsoft.AspNetCore.Mvc.TagHelpers.Internal
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Utility methods for <see cref="AspNet.Razor.TagHelpers.ITagHelper"/>'s that support
|
/// Utility methods for <see cref="AspNetCore.Razor.TagHelpers.ITagHelper"/>'s that support
|
||||||
/// attributes containing file globbing patterns.
|
/// attributes containing file globbing patterns.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class GlobbingUrlBuilder
|
public class GlobbingUrlBuilder
|
||||||
|
|
|
||||||
|
|
@ -4,15 +4,15 @@
|
||||||
namespace Microsoft.AspNetCore.Mvc.TagHelpers.Internal
|
namespace Microsoft.AspNetCore.Mvc.TagHelpers.Internal
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// A mapping of a <see cref="AspNet.Razor.TagHelpers.ITagHelper"/> mode to its required attributes.
|
/// A mapping of a <see cref="AspNetCore.Razor.TagHelpers.ITagHelper"/> mode to its required attributes.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <typeparam name="TMode">The type representing the <see cref="AspNet.Razor.TagHelpers.ITagHelper"/>'s mode.</typeparam>
|
/// <typeparam name="TMode">The type representing the <see cref="AspNetCore.Razor.TagHelpers.ITagHelper"/>'s mode.</typeparam>
|
||||||
public class ModeAttributes<TMode>
|
public class ModeAttributes<TMode>
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Initializes a new instance of <see cref="ModeAttributes{TMode}"/>.
|
/// Initializes a new instance of <see cref="ModeAttributes{TMode}"/>.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="mode">The <see cref="AspNet.Razor.TagHelpers.ITagHelper"/>'s mode.</param>
|
/// <param name="mode">The <see cref="AspNetCore.Razor.TagHelpers.ITagHelper"/>'s mode.</param>
|
||||||
/// <param name="attributes">The names of attributes required for this mode.</param>
|
/// <param name="attributes">The names of attributes required for this mode.</param>
|
||||||
public ModeAttributes(TMode mode, string[] attributes)
|
public ModeAttributes(TMode mode, string[] attributes)
|
||||||
{
|
{
|
||||||
|
|
@ -21,7 +21,7 @@ namespace Microsoft.AspNetCore.Mvc.TagHelpers.Internal
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets the <see cref="AspNet.Razor.TagHelpers.ITagHelper"/>'s mode.
|
/// Gets the <see cref="AspNetCore.Razor.TagHelpers.ITagHelper"/>'s mode.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public TMode Mode { get; }
|
public TMode Mode { get; }
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ namespace Microsoft.AspNetCore.Mvc.Razor.Compilation
|
||||||
"test",
|
"test",
|
||||||
sourceFileContent: string.Empty,
|
sourceFileContent: string.Empty,
|
||||||
compiledContent: string.Empty,
|
compiledContent: string.Empty,
|
||||||
messages: Enumerable.Empty<AspNet.Diagnostics.DiagnosticMessage>());
|
messages: Enumerable.Empty<AspNetCore.Diagnostics.DiagnosticMessage>());
|
||||||
var failures = new[] { compilationFailure };
|
var failures = new[] { compilationFailure };
|
||||||
var result = new CompilationResult(failures);
|
var result = new CompilationResult(failures);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -492,7 +492,7 @@ namespace Microsoft.AspNetCore.Mvc.Razor.Compilation
|
||||||
var cache = new CompilerCache(fileProvider);
|
var cache = new CompilerCache(fileProvider);
|
||||||
var diagnosticMessages = new[]
|
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[]
|
var compilationResult = new CompilationResult(new[]
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -113,7 +113,7 @@ namespace Microsoft.AspNetCore.Mvc.Razor
|
||||||
.AddSingleton(myService)
|
.AddSingleton(myService)
|
||||||
.AddSingleton(helper)
|
.AddSingleton(helper)
|
||||||
.AddSingleton<HtmlEncoder>(htmlEncoder)
|
.AddSingleton<HtmlEncoder>(htmlEncoder)
|
||||||
.AddSingleton<DiagnosticSource>(new DiagnosticListener("Microsoft.Aspnet.Mvc"))
|
.AddSingleton<DiagnosticSource>(new DiagnosticListener("Microsoft.AspNetCore.Mvc"))
|
||||||
.BuildServiceProvider();
|
.BuildServiceProvider();
|
||||||
var httpContext = new DefaultHttpContext
|
var httpContext = new DefaultHttpContext
|
||||||
{
|
{
|
||||||
|
|
@ -153,7 +153,7 @@ namespace Microsoft.AspNetCore.Mvc.Razor
|
||||||
.AddSingleton(myService)
|
.AddSingleton(myService)
|
||||||
.AddSingleton(helper)
|
.AddSingleton(helper)
|
||||||
.AddSingleton<HtmlEncoder>(htmlEncoder)
|
.AddSingleton<HtmlEncoder>(htmlEncoder)
|
||||||
.AddSingleton<DiagnosticSource>(new DiagnosticListener("Microsoft.Aspnet.Mvc"))
|
.AddSingleton<DiagnosticSource>(new DiagnosticListener("Microsoft.AspNetCore.Mvc"))
|
||||||
.BuildServiceProvider();
|
.BuildServiceProvider();
|
||||||
var httpContext = new DefaultHttpContext
|
var httpContext = new DefaultHttpContext
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue