Inheritance: ManosApp
Beispiel #1
0
 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;
 }
Beispiel #2
0
        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;
 }