Partilhar via


TreeRouteBuilder.MapOutbound Método

Definição

Adiciona uma nova rota de saída ao TreeRouter.

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

Parâmetros

handler
IRouter

O IRouter para lidar com a geração de link.

routeTemplate
RouteTemplate

O RouteTemplate da rota.

requiredLinkValues
RouteValueDictionary

O RouteValueDictionary que contém os valores de rota.

routeName
String

O nome da rota.

order
Int32

A ordem de rota.

Retornos

O OutboundRouteEntry.

Aplica-se a