Esempio n. 1
0
 public static void MapRoute(RouteBase route)
 {
     MapRoute(null, route);
 }
Esempio n. 2
0
        public static void MapRoute(string routeName, RouteBase route)
        {
            Guard.ArgumentNotNull(route, "route");

            RouteTable.Routes.Add(routeName, route);
        }
Esempio n. 3
0
 public RouteData(RouteBase route, IRouteHandler routeHandler)
     : this()
 {
     this.Route        = route;
     this.RouteHandler = routeHandler;
 }