RazorPagesEndpointRouteBuilderExtensions.MapRazorPages Methode

Definition

Fügt Endpunkte für Razor Pages zu hinzu 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

Parameter

Gibt zurück

Ein PageActionEndpointConventionBuilder für Endpunkte, die Razor Pages zugeordnet sind.

Gilt für: