public static void MapAttributeRoutesInControllers(this RouteCollection routes, IEnumerable <Type> controllers, IInlineConstraintResolver constraintResolver, IDirectRouteProvider routeProvider)
        {
            var mvcAssemblyReflector = new MvcAssemblyReflector();

            mvcAssemblyReflector.MapAttributeRoutes(routes, controllers, constraintResolver, routeProvider);
        }
Esempio n. 2
0
        public static void MapAttributeRoutesInControllers(this RouteCollection routes, IEnumerable <Type> controllers)
        {
            var mvcAssemblyReflector = new MvcAssemblyReflector();

            mvcAssemblyReflector.MapAttributeRoutes(routes, controllers);
        }