public static Route MapRoute(this RouteCollection routes, IRouteModifier routeModifier, string name, string url, object defaults, object constraints, string[] namespaces) { return(routes.MapRoute(name, routeModifier.ModifyUrl(url), defaults, constraints, namespaces)); }
public static void AddRoute(this IList <OxiteRoute> routes, IRouteModifier routeModifier, string name, string url, object defaults, object constraints, string[] namespaces) { routes.Add(new OxiteRoute(name, routeModifier.ModifyUrl(url), defaults, constraints, namespaces)); }