示例#1
0
        public void RegisterRoutes(RouteCollection routes)
        {
            var mapper = new Mapper();
            Map(mapper);

            mapper.RegisterRoutes(routes);
        }
示例#2
0
        public void RegisterRoutes(RouteCollection routes, string[] namespaces = null)
        {
            var mapper = new Mapper(namespaces);
            Map(mapper);

            mapper.RegisterRoutes(routes);
        }
示例#3
0
        public void RegisterRoutes(RouteCollection routes)
        {
            var mapper = new Mapper();
            Map(mapper);

            mapper.RegisterRoutes(routes);
        }
示例#4
0
        public void RegisterRoutes(RouteCollection routes, string[] namespaces = null)
        {
            var mapper = new Mapper(namespaces);

            Map(mapper);

            mapper.RegisterRoutes(routes);
        }
        public void RegisterRoutes(IRouteBuilder routes, string[] namespaces = null)
        {
            var mapper = new Mapper(namespaces);

            Map(mapper);

            mapper.RegisterRoutes(routes);
        }