protected void RegisterEngineRoute(string url, string instanceModule, string frontendEngine, IGraphContext graphContext, string engineModule = "Associativy.Frontends") { RegisterRoute( graphContext.Stringify() + " " + frontendEngine, new Route( url, new RouteValueDictionary { {"area", instanceModule}, {"controller", frontendEngine + "Engine"}, {"action", "Index"} }, new RouteValueDictionary(), new RouteValueDictionary { {"area", engineModule}, }, new MvcRouteHandler()), graphContext); }
protected void RegisterRoute(Route route, IGraphContext graphContext) { RegisterRoute(graphContext.Stringify() + route.Url, route, graphContext); }