Пример #1
0
 protected override bool FileExists(ControllerContext controllerContext, string virtualPath)
 {
     return(base.FileExists(
                controllerContext,
                ViewEngineHelper.Transform(
                    virtualPath,
                    controllerContext.Controller.GetType().Namespace,
                    nameSpacePrefix_)));
 }
Пример #2
0
 protected override IView CreatePartialView(ControllerContext controllerContext, string partialPath)
 {
     return(base.CreatePartialView(
                controllerContext,
                ViewEngineHelper.Transform(
                    partialPath,
                    controllerContext.Controller.GetType().Namespace,
                    nameSpacePrefix_)));
 }
Пример #3
0
 protected override IView CreateView(ControllerContext controllerContext, string viewPath, string masterPath)
 {
     return(base.CreateView(
                controllerContext,
                ViewEngineHelper.Transform(
                    viewPath,
                    controllerContext.Controller.GetType().Namespace,
                    nameSpacePrefix_),
                ViewEngineHelper.Transform(
                    masterPath,
                    controllerContext.Controller.GetType().Namespace,
                    nameSpacePrefix_)));
 }