C# Class NContext.Extensions.AspNet.WebApi.Routing.Route

Defines a class which represents a Web API service route.
Show file Open project: PowerDMS/NContext

Public Methods

Method Description
Route ( String routeName, String routeTemplate ) : System

Initializes a new instance of the Route class for hosting within an ASP.NET application.

Route ( String routeName, String routeTemplate, Object defaults ) : System

Initializes a new instance of the Route class for hosting within an ASP.NET application.

Route ( String routeName, String routeTemplate, Object defaults, Object constraints ) : System

Initializes a new instance of the Route class for hosting within an ASP.NET application.

Method Details

Route() public method

Initializes a new instance of the Route class for hosting within an ASP.NET application.
public Route ( String routeName, String routeTemplate ) : System
routeName String Name of the route.
routeTemplate String The route template.
return System

Route() public method

Initializes a new instance of the Route class for hosting within an ASP.NET application.
public Route ( String routeName, String routeTemplate, Object defaults ) : System
routeName String Name of the route.
routeTemplate String The route template.
defaults Object The defaults.
return System

Route() public method

Initializes a new instance of the Route class for hosting within an ASP.NET application.
public Route ( String routeName, String routeTemplate, Object defaults, Object constraints ) : System
routeName String Name of the route.
routeTemplate String The route template.
defaults Object The defaults.
constraints Object The constraints.
return System