public ControllerRouteHandler(AbstractRequestPattern pattern, string controllerName, string actionName, Func <C, RequestContext, ActionResult> handler)
 {
     this.pattern        = pattern;
     this.controllerName = controllerName;
     this.actionName     = actionName;
     this.controllerType = typeof(C);
     this.handler        = handler;
 }
Ejemplo n.º 2
0
 public FuncRouteHandler(AbstractRequestPattern pattern, Func <RequestContext, ActionResult> handler)
 {
     this.pattern = pattern;
     this.handler = handler;
 }