protected override IView CreatePartialView(ControllerContext controllerContext, string partialPath) { Template viewTemplate = GetTemplate(partialPath); NVelocityView view = new NVelocityView(controllerContext, viewTemplate, null); return(view); }
protected override IView CreateView(ControllerContext controllerContext, string viewPath, string masterPath) { Template viewTemplate = GetTemplate(viewPath); Template masterTemplate = GetTemplate(masterPath); NVelocityView view = new NVelocityView(controllerContext, viewTemplate, masterTemplate); return(view); }
protected override IView CreateView(ControllerContext controllerContext, string viewPath, string masterPath) { Template viewTemplate = GetTemplate(viewPath); Template masterTemplate = GetTemplate(masterPath); NVelocityView view = new NVelocityView(controllerContext, viewTemplate, masterTemplate); return view; }
protected override IView CreatePartialView(ControllerContext controllerContext, string partialPath) { Template viewTemplate = GetTemplate(partialPath); NVelocityView view = new NVelocityView(controllerContext, viewTemplate, null); return view; }