Add xml docs to RazorPagesEndpointRouteBuilderExtensions (#7992)
This commit is contained in:
parent
783131a750
commit
a6b00f0d0d
|
|
@ -9,8 +9,16 @@ using Microsoft.Extensions.DependencyInjection;
|
|||
|
||||
namespace Microsoft.AspNetCore.Builder
|
||||
{
|
||||
/// <summary>
|
||||
/// Contains extension methods for using Razor Pages with <see cref="IEndpointRouteBuilder"/>.
|
||||
/// </summary>
|
||||
public static class RazorPagesEndpointRouteBuilderExtensions
|
||||
{
|
||||
/// <summary>
|
||||
/// Adds endpoints for Razor Pages to the <see cref="IEndpointRouteBuilder"/>.
|
||||
/// </summary>
|
||||
/// <param name="routes">The <see cref="IEndpointRouteBuilder"/>.</param>
|
||||
/// <returns>An <see cref="IEndpointConventionBuilder"/> for endpoints associated with Razor Pages.</returns>
|
||||
public static IEndpointConventionBuilder MapRazorPages(this IEndpointRouteBuilder routes)
|
||||
{
|
||||
if (routes == null)
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ using Microsoft.AspNetCore.Mvc.Infrastructure;
|
|||
namespace Microsoft.AspNetCore.Mvc.RazorPages
|
||||
{
|
||||
/// <summary>
|
||||
/// Provides configuration for RazorPages.
|
||||
/// Provides configuration for Razor Pages.
|
||||
/// </summary>
|
||||
public class RazorPagesOptions : IEnumerable<ICompatibilitySwitch>
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue