RazorPagesEndpointRouteBuilderExtensions.MapRazorPages Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Aggiunge endpoint per Razor Pages all'oggetto 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
Parametri
- endpoints
- IEndpointRouteBuilder
Oggetto IEndpointRouteBuilder.
Restituisce
Oggetto PageActionEndpointConventionBuilder per gli endpoint associati a Razor Pages.