public HttpRequestHandlingContext(IMvcRouter mvcRouter,
                                   IResourceRouter resourceRouter,
                                   ICustomRouter customRouter)
 {
     this.mvcRouter      = mvcRouter;
     this.resourceRouter = resourceRouter;
     this.customRouter   = customRouter;
 }
Beispiel #2
0
 /// <summary>
 /// Base controller class for handling routes that target entities for which no controller
 /// has been created.
 /// <para>
 /// Uses the given <see cref="IMvcRouter" /> for resolving the appropriate controllers and
 /// action methods based on the route data provided by this controller.
 /// </para>
 /// </summary>
 /// <param name="router"></param>
 /// <returns></returns>
 public DynamicController(IMvcRouter router)
     : base()
 {
     _router = router;
 }