InboundRouteEntry Class

Used to build an Microsoft.AspNetCore.Routing.Tree.TreeRouter. Represents a URL template tha will be used to match incoming request URLs.

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

Syntax

public class InboundRouteEntry
class Microsoft.AspNetCore.Routing.Tree.InboundRouteEntry

Properties

Microsoft.AspNetCore.Routing.Tree.InboundRouteEntry.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.InboundRouteEntry.Defaults

Gets or sets the route defaults.

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

Gets or sets 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.InboundRouteEntry.Order

Gets or sets the order of the entry.

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

Gets or sets the precedence of the entry.

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

Gets or sets the name of the route.

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

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

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