コード例 #1
0
        public static void MapAttributeRoutesInControllers(this RouteCollection routes, IEnumerable <Type> controllers, IInlineConstraintResolver constraintResolver, IDirectRouteProvider routeProvider)
        {
            var mvcAssemblyReflector = new MvcAssemblyReflector();

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

            mvcAssemblyReflector.MapAttributeRoutes(routes, controllers);
        }