OutboundRouteEntry Class

Used to build a Microsoft.AspNetCore.Routing.Tree.TreeRouter. Represents a URL template that will be used to generate outgoing URLs.

Namespace
Microsoft.AspNetCore.Routing.Tree
Assemblies
  • Microsoft.AspNetCore.Routing

Syntax

public class OutboundRouteEntry
class Microsoft.AspNetCore.Routing.Tree.OutboundRouteEntry

Properties

Microsoft.AspNetCore.Routing.Tree.OutboundRouteEntry.Constraints

Gets or sets the route constraints.

Return type:System.Collections.Generic.IDictionary<System.String>
public IDictionary<string, IRouteConstraint> Constraints { get; set; }
Microsoft.AspNetCore.Routing.Tree.OutboundRouteEntry.Defaults

Gets or sets the route defaults.

Return type:Microsoft.AspNetCore.Routing.RouteValueDictionary
public RouteValueDictionary Defaults { get; set; }
Microsoft.AspNetCore.Routing.Tree.OutboundRouteEntry.Handler

The Microsoft.AspNetCore.Routing.IRouter to invoke when this entry matches.

Return type:Microsoft.AspNetCore.Routing.IRouter
public IRouter Handler { get; set; }
Microsoft.AspNetCore.Routing.Tree.OutboundRouteEntry.Order

Gets or sets the order of the entry.

Return type:System.Int32
public int Order { get; set; }
Microsoft.AspNetCore.Routing.Tree.OutboundRouteEntry.Precedence

Gets or sets the precedence of the template for link generation. A greater value of Microsoft.AspNetCore.Routing.Tree.OutboundRouteEntry.Precedence means that an entry is considered first.

Return type:System.Decimal
public decimal Precedence { get; set; }
Microsoft.AspNetCore.Routing.Tree.OutboundRouteEntry.RequiredLinkValues

Gets or sets the set of values that must be present for link genration.

Return type:Microsoft.AspNetCore.Routing.RouteValueDictionary
public RouteValueDictionary RequiredLinkValues { get; set; }
Microsoft.AspNetCore.Routing.Tree.OutboundRouteEntry.RouteName

Gets or sets the name of the route.

Return type:System.String
public string RouteName { get; set; }
Microsoft.AspNetCore.Routing.Tree.OutboundRouteEntry.RouteTemplate

Gets or sets the Microsoft.AspNetCore.Routing.Tree.OutboundRouteEntry.RouteTemplate.

Return type:Microsoft.AspNetCore.Routing.Template.RouteTemplate
public RouteTemplate RouteTemplate { get; set; }