Compartir a través de


TreeRouteBuilder.MapOutbound Método

Definición

Agrega una nueva ruta de salida a .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

IRouter para controlar la generación de vínculos.

routeTemplate
RouteTemplate

de RouteTemplate la ruta.

requiredLinkValues
RouteValueDictionary

que RouteValueDictionary contiene los valores de ruta.

routeName
String

Nombre de la ruta.

order
Int32

Orden de la ruta.

Devoluciones

OutboundRouteEntry.

Se aplica a