C# Class Sage.Routing.RouteCollectionExtensions

Implements extensions to RouteCollection class.
Exibir arquivo Open project: igorfrance/sage

Public Methods

Method Description
MapRoute ( this routes, string name, string url ) : void

Maps a route as a LowerCaseRoute.

MapRoute ( this routes, string name, string url, object>.IDictionary defaults, object>.IDictionary constraints ) : void

Maps a route as a LowerCaseRoute.

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

Maps a route as a LowerCaseRoute.

MapRouteLowercase ( this routes, string name, string url ) : void

Maps a route, ensuring characters are registered in lower case.

MapRouteLowercase ( this routes, string name, string url, object>.IDictionary defaults ) : void

Maps a route, ensuring characters are registered in lower case.

MapRouteLowercase ( this routes, string name, string url, object>.IDictionary defaults, object>.IDictionary constraints ) : void

Maps a route, ensuring characters are registered in lower case.

MapRouteLowercase ( this routes, string name, string url, object>.IDictionary defaults, object>.IDictionary constraints, string namespaces ) : void

Maps a route, ensuring characters are registered in lower case.

MapRouteLowercase ( this routes, string name, string url, object>.IDictionary defaults, string namespaces ) : void

Maps a route, ensuring characters are registered in lower case.

MapRouteLowercase ( this routes, string name, string url, string namespaces ) : void

Maps a route, ensuring characters are registered in lower case.

Method Details

MapRoute() public static method

Maps a route as a LowerCaseRoute.
public static MapRoute ( this routes, string name, string url ) : void
routes this The target .
name string The name of the route.
url string The route URL pattern.
return void

MapRoute() public static method

Maps a route as a LowerCaseRoute.
public static MapRoute ( this routes, string name, string url, object>.IDictionary defaults, object>.IDictionary constraints ) : void
routes this The target .
name string The name of the route.
url string The route URL pattern.
defaults object>.IDictionary The route default values.
constraints object>.IDictionary The route parameter constraints.
return void

MapRoute() public static method

Maps a route as a LowerCaseRoute.
public static MapRoute ( this routes, string name, string url, object defaults ) : void
routes this The target .
name string The name of the route.
url string The route URL pattern.
defaults object The route default values.
return void

MapRouteLowercase() public static method

Maps a route, ensuring characters are registered in lower case.
public static MapRouteLowercase ( this routes, string name, string url ) : void
routes this The target .
name string The name of the route.
url string The route URL pattern.
return void

MapRouteLowercase() public static method

Maps a route, ensuring characters are registered in lower case.
public static MapRouteLowercase ( this routes, string name, string url, object>.IDictionary defaults ) : void
routes this The target .
name string The name of the route.
url string The route URL pattern.
defaults object>.IDictionary The route default values.
return void

MapRouteLowercase() public static method

Maps a route, ensuring characters are registered in lower case.
public static MapRouteLowercase ( this routes, string name, string url, object>.IDictionary defaults, object>.IDictionary constraints ) : void
routes this The target .
name string The name of the route.
url string The route URL pattern.
defaults object>.IDictionary The route default values.
constraints object>.IDictionary The route parameter constraints.
return void

MapRouteLowercase() public static method

Maps a route, ensuring characters are registered in lower case.
or is null
public static MapRouteLowercase ( this routes, string name, string url, object>.IDictionary defaults, object>.IDictionary constraints, string namespaces ) : void
routes this The target .
name string The name of the route.
url string The route URL pattern.
defaults object>.IDictionary The route default values.
constraints object>.IDictionary The route parameter constraints.
namespaces string The route namespaces.
return void

MapRouteLowercase() public static method

Maps a route, ensuring characters are registered in lower case.
public static MapRouteLowercase ( this routes, string name, string url, object>.IDictionary defaults, string namespaces ) : void
routes this The target .
name string The name of the route.
url string The route URL pattern.
defaults object>.IDictionary The route default values.
namespaces string The route namespaces.
return void

MapRouteLowercase() public static method

Maps a route, ensuring characters are registered in lower case.
public static MapRouteLowercase ( this routes, string name, string url, string namespaces ) : void
routes this The target .
name string The name of the route.
url string The route URL pattern.
namespaces string The route namespaces.
return void