public IHtmlContent Render() { var columns = new List <LargeColumn <TModel, TPostModel> >(); this.AddToColumns(columns); IList <IHtmlContent> list = new List <IHtmlContent>(); foreach (var item in columns) { list.Add(item.Render(this.model)); } return(TagHelper.Combine(list)); }
public IHtmlContent Render() { IList <IHtmlContent> contents = new List <IHtmlContent>(); var columns = new List <LargeColumn <TModel, TPostModel> >(); this.CreateColumns(columns); TModel model = default; foreach (var item in columns) { contents.Add(item.Render(model)); } return(TagHelper.Combine(contents)); }
protected IHtmlContent RenderFilter() { IList <IHtmlContent> contents = new List <IHtmlContent>(); var columns = new List <LargeColumn <TModel, TPostModel> >(); this.SearchFilterConfiguration.Render(columns); TModel model = default; foreach (var item in columns) { contents.Add(item.Render(model)); } return(TagHelper.Combine(contents)); }
protected IHtmlContent GenerateButtons() { IList <SimpleButton> buttons = new List <SimpleButton>(); this.CreateButtons(buttons); IList <IHtmlContent> list = new List <IHtmlContent>(); foreach (var item in buttons) { list.Add(item.Render()); this.Script = this.Script.Union(item.Script); } return(TagHelper.Combine(list)); }
public IHtmlContent Render(TModel entity) { return(TagHelper.Combine(string.Empty)); }