Compartilhar via


RazorPagesEndpointRouteBuilderExtensions.MapRazorPages Método

Definição

Adiciona pontos de extremidade para Razor Pages ao IEndpointRouteBuilder.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::PageActionEndpointConventionBuilder ^ MapRazorPages(Microsoft::AspNetCore::Routing::IEndpointRouteBuilder ^ endpoints);
public static Microsoft.AspNetCore.Builder.PageActionEndpointConventionBuilder MapRazorPages (this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints);
static member MapRazorPages : Microsoft.AspNetCore.Routing.IEndpointRouteBuilder -> Microsoft.AspNetCore.Builder.PageActionEndpointConventionBuilder
<Extension()>
Public Function MapRazorPages (endpoints As IEndpointRouteBuilder) As PageActionEndpointConventionBuilder

Parâmetros

Retornos

Um PageActionEndpointConventionBuilder para pontos de extremidade associados ao Razor Pages.

Aplica-se a