Partager via


TreeRouteBuilder.MapInbound(IRouter, RouteTemplate, String, Int32) Méthode

Définition

Ajoute un nouvel itinéraire entrant au TreeRouter.

public:
 Microsoft::AspNetCore::Routing::Tree::InboundRouteEntry ^ MapInbound(Microsoft::AspNetCore::Routing::IRouter ^ handler, Microsoft::AspNetCore::Routing::Template::RouteTemplate ^ routeTemplate, System::String ^ routeName, int order);
public Microsoft.AspNetCore.Routing.Tree.InboundRouteEntry MapInbound (Microsoft.AspNetCore.Routing.IRouter handler, Microsoft.AspNetCore.Routing.Template.RouteTemplate routeTemplate, string routeName, int order);
member this.MapInbound : Microsoft.AspNetCore.Routing.IRouter * Microsoft.AspNetCore.Routing.Template.RouteTemplate * string * int -> Microsoft.AspNetCore.Routing.Tree.InboundRouteEntry
Public Function MapInbound (handler As IRouter, routeTemplate As RouteTemplate, routeName As String, order As Integer) As InboundRouteEntry

Paramètres

handler
IRouter

IRouter pour la gestion de l’itinéraire.

routeTemplate
RouteTemplate

de RouteTemplate l’itinéraire.

routeName
String

Nom de l'itinéraire.

order
Int32

Ordre de l'itinéraire.

Retours

L’InboundRouteEntryopérateur

S’applique à