Table of Contents

Class RouteEntry

Namespace
System.Web.Http.Routing
Assembly
System.Web.Http.dll

Represents a named route.

public class RouteEntry
Inheritance
RouteEntry
Inherited Members

Constructors

RouteEntry(string, IHttpRoute)

Initializes a new instance of the RouteEntry class.

public RouteEntry(string name, IHttpRoute route)

Parameters

name string

The route name, if any; otherwise, null.

route IHttpRoute

The route.

Properties

Name

Gets the route name, if any; otherwise, null.

public string Name { get; }

Property Value

string

The route name, if any; otherwise, null.

Route

Gets the route.

public IHttpRoute Route { get; }

Property Value

IHttpRoute

The route.