Partilhar via


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

Definição

Adiciona uma nova rota de entrada ao 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

Parâmetros

handler
IRouter

O IRouter para lidar com a rota.

routeTemplate
RouteTemplate

O RouteTemplate da rota.

routeName
String

O nome da rota.

order
Int32

A ordem de rota.

Retornos

O InboundRouteEntry.

Aplica-se a