CTCClassSchedule.ProfilingViewEngine.FindPartialView C# (CSharp) Method

FindPartialView() public method

public FindPartialView ( System.Web.Mvc.ControllerContext controllerContext, string partialViewName, bool useCache ) : System.Web.Mvc.ViewEngineResult
controllerContext System.Web.Mvc.ControllerContext
partialViewName string
useCache bool
return System.Web.Mvc.ViewEngineResult
        public ViewEngineResult FindPartialView(ControllerContext controllerContext, string partialViewName, bool useCache)
        {
            var found = wrapped.FindPartialView(controllerContext, partialViewName, useCache);
            if (found != null && found.View != null)
            {
                found = new ViewEngineResult(new WrappedView(found.View, partialViewName, isPartial: true), this);
            }
            return found;
        }