C# Class Hyper.Http.Routing.HttpRouteCollectionExtensions

HttpRouteCollectionExtensions class.
Mostra file Open project: tmitchel2/Hyper

Public Methods

Method Description
MapHttpRouteLowercase ( this routes, string name, string routeTemplate ) : IHttpRoute

Maps the HTTP route lowercase.

MapHttpRouteLowercase ( this routes, string name, string routeTemplate, object defaults ) : IHttpRoute

Maps the HTTP route lowercase.

MapHttpRouteLowercase ( this routes, string name, string routeTemplate, object defaults, object constraints ) : IHttpRoute

Maps the HTTP route lowercase.

Private Methods

Method Description
CreateRoute ( string routeTemplate, object>.IDictionary defaults, object>.IDictionary constraints, object>.IDictionary dataTokens, object>.IDictionary parameters ) : IHttpRoute

Creates the route.

GetTypeProperties ( object instance ) : object>.IDictionary

Gets the type properties.

Method Details

MapHttpRouteLowercase() public static method

Maps the HTTP route lowercase.
public static MapHttpRouteLowercase ( this routes, string name, string routeTemplate ) : IHttpRoute
routes this The routes.
name string The name.
routeTemplate string The route template.
return IHttpRoute

MapHttpRouteLowercase() public static method

Maps the HTTP route lowercase.
public static MapHttpRouteLowercase ( this routes, string name, string routeTemplate, object defaults ) : IHttpRoute
routes this The routes.
name string The name.
routeTemplate string The route template.
defaults object The defaults.
return IHttpRoute

MapHttpRouteLowercase() public static method

Maps the HTTP route lowercase.
public static MapHttpRouteLowercase ( this routes, string name, string routeTemplate, object defaults, object constraints ) : IHttpRoute
routes this The routes.
name string The name.
routeTemplate string The route template.
defaults object The defaults.
constraints object The constraints.
return IHttpRoute