public void InAllControllersFromAssembly(Assembly assembly) { var controllerTypes = RouteMapRegistry.GetControllers(new[] { assembly }); var actionsWithRouteMaps = RouteMapRegistry.GetActionsWithRouteMaps(controllerTypes); Actions.AddRange(actionsWithRouteMaps); }
public void InControllers(IEnumerable <Type> controllerTypes) { var actionsWithRouteMaps = RouteMapRegistry.GetActionsWithRouteMaps(controllerTypes); Actions.AddRange(actionsWithRouteMaps); }
protected virtual RouteValueDictionary ParseStringToConstraintsRouteValueDictionary(string valueString) { return(RouteMapRegistry.ParseStringToRouteValueDictionary(valueString)); }