C# Class TidyRouting.RouteCollectionExtensions

Exibir arquivo Open project: cbovis/TidyRouting

Public Methods

Method Description
MapTidyRoute ( this routes, string name, string url, object defaults, object constraints, string namespaces ) : Route

Creates tidier versions of .NET MVC routes by lower casing the urls and making sure a trailing slash is added.

MapTidyRoute ( this routes, string name, string url, object defaults ) : void

Creates tidier versions of .NET MVC routes by lower casing the urls and making sure a trailing slash is added.

MapTidyRoute ( this routes, string name, string url, object defaults, object constraints ) : void

Creates tidier versions of .NET MVC routes by lower casing the urls and making sure a trailing slash is added.

Method Details

MapTidyRoute() public static method

Creates tidier versions of .NET MVC routes by lower casing the urls and making sure a trailing slash is added.
public static MapTidyRoute ( this routes, string name, string url, object defaults, object constraints, string namespaces ) : Route
routes this
name string
url string
defaults object
constraints object
namespaces string
return System.Web.Routing.Route

MapTidyRoute() public static method

Creates tidier versions of .NET MVC routes by lower casing the urls and making sure a trailing slash is added.
public static MapTidyRoute ( this routes, string name, string url, object defaults ) : void
routes this
name string
url string
defaults object
return void

MapTidyRoute() public static method

Creates tidier versions of .NET MVC routes by lower casing the urls and making sure a trailing slash is added.
public static MapTidyRoute ( this routes, string name, string url, object defaults, object constraints ) : void
routes this
name string
url string
defaults object
constraints object
return void