public MvcHtmlString GetFooterValue(IEnumerable <TModel> rows, ControllerContext context, TextWriter textWriter) { var htmlHelper = HtmlHelperMock.GetHelper(rows, context, textWriter); return(MvcHtmlString.Create(FooterFunc.ExecuteIfNotNull(htmlHelper, rows))); }