TreeRouteBuilder.MapOutbound Method

Definition

Adds a new outbound route to the 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

Parameters

handler
IRouter

The IRouter for handling the link generation.

routeTemplate
RouteTemplate

The RouteTemplate of the route.

requiredLinkValues
RouteValueDictionary

The RouteValueDictionary containing the route values.

routeName
String

The route name.

order
Int32

The route order.

Returns

The OutboundRouteEntry.

Applies to