public ViewResult(MvcApp app, Controller controller, string viewname, object model, bool Partial) { this.app = app; this.viewname = viewname; this.controller = controller; this.model = model; this.partial = Partial; }
public ViewService(MvcApp app) { Application = app; // Register standard view paths RegisterViewPath("/Views/{controller}/{view}.cshtml"); RegisterViewPath("/Views/Shared/{view}.cshtml"); // Built-in razor view engine RegisterViewEngine(new RazorViewEngine(this)); }
public ControllerService(MvcApp app) { this.Application = app; }