RegisterRoutes..::..AddRoute Method
Adds a named route to the route collection if a route with the same name does not already exist.
Namespace:
AdvantageCMS.Core.RoutingAssembly: AdvantageCMS.Core (in AdvantageCMS.Core.dll)
Syntax
public static void AddRoute( RouteCollection routes, string name, Route route )
Parameters
- routes
- Type: RouteCollection
The route collection to add the route to.
- name
- Type: String
The unique name for the route.
- route
- Type: Route
The route to add.

