void Application_Start(object sender, EventArgs e) { // Code that runs on application startup BundleConfig.RegisterBundles(BundleTable.Bundles); RouteConfig.RegisterRoutes(RouteTable.Routes); IRouteContainer routeContainer = RouteContainer.Configure(); }
public ReflectorRouter() { //TODO: change this to RouteTree _route = new RouteList <Type>(); _binder = new AttributeHandlerMapBinder(); }
public void MyTestInitialize() { _dummyHandler = new MyDummyHandler(); _container = new RouteList <IHandler>(); }
public void MyTestInitialize() { _dummyHandler = new MyDummyHandler(); _container = new RouteList<IHandler>(); }
public static IRouteContainer Configure(Type routeContainerType, params object[] args) { IRouteContainer routeContainer = (IRouteContainer)Activator.CreateInstance(routeContainerType, args); return(routeContainer); }