Beispiel #1
0
        protected override IView CreateView(ControllerContext controllerContext, string viewPath, string masterPath)
        {
            var View = new ViewEngine.CustomView();

            View.ViewFilePath = controllerContext.HttpContext.Server.MapPath(viewPath);
            return(View);
        }
Beispiel #2
0
        protected override IView CreatePartialView(ControllerContext controllerContext, string partialPath)
        {
            var View = new ViewEngine.CustomView();

            View.ViewFilePath = controllerContext.HttpContext.Server.MapPath(partialPath);
            return(View);
        }