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

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