public static void MapRoute(RouteBase route) { MapRoute(null, route); }
public static void MapRoute(string routeName, RouteBase route) { Guard.ArgumentNotNull(route, "route"); RouteTable.Routes.Add(routeName, route); }
public RouteData(RouteBase route, IRouteHandler routeHandler) : this() { this.Route = route; this.RouteHandler = routeHandler; }