Udostępnij za pośrednictwem


TreeRouteBuilder.MapInbound(IRouter, RouteTemplate, String, Int32) Metoda

Definicja

Dodaje nową trasę ruchu przychodzącego do elementu 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

Parametry

handler
IRouter

Element IRouter do obsługi trasy.

routeTemplate
RouteTemplate

Trasa RouteTemplate .

routeName
String

Nazwa trasy.

order
Int32

Kolejność tras.

Zwraca

Element InboundRouteEntry.

Dotyczy