TreeRouteBuilder.MapOutbound Method

Definition

Adds a new outbound route to the TreeRouter.

C#
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);

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

Produk Versi
ASP.NET Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0