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));
        }
示例#2
0
        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));
        }
示例#3
0
        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));
        }
示例#4
0
        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));
        }
示例#5
0
 public IHtmlContent Render(TModel entity)
 {
     return(TagHelper.Combine(string.Empty));
 }