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; }
public FuncRouteHandler(AbstractRequestPattern pattern, Func <RequestContext, ActionResult> handler) { this.pattern = pattern; this.handler = handler; }